similar to: How to pass variable to $$()?

Displaying 20 results from an estimated 200 matches similar to: "How to pass variable to $$()?"

2007 May 28
7
$$ is slooooow in IE
While $$ and getElementsByClassName are ridiculously speedy in Firefox (thanks to XPath), I''m finding both functions to be intolerably slow in IE. The page I''m working with has fewer than 1000 elements -- doesn''t seem THAT big -- and it''s still taking upwards of 4 seconds (!) to pick out the right ones. Are there documented problems with particular
2006 Jun 21
3
getElementsByClassName
How should I expect the performance of this function to be? I wrote this code: function CreateTOC(){ var $aTOC = document.getElementsByClassName(''tocitem''); if(isArray($aTOC)){ $temp = ''<INPUT TYPE="SUBMIT" NAME="cmdSave_Update" VALUE="Close" CLASS="menubuttons"> ''; $temp += ''<INPUT
2005 Sep 25
2
Preventing/allowing exceptions to occur in Element.add/remove ClassName
Hello everyone ! Thomas asked me to discuss here the behavior of Element.addClassName, as relating to ticker #2232 [1]. In HEAD, if the element passed-in to Element.addClassName does not exist, an exception is thrown, and script execution stops there. I believe this is inconsistent with other functions: Object.extend(Element, { hasClassName: function(element, className) { element =
2007 Feb 17
4
childrenWithClassName
Hi, i need some help :) Does anywhere exists a fix for a code (scheme) like this: ---------------- var blas = document.getElementsByClassName( ''foo-class'', ''foo-id'' ); blas.each ( function( bla ) { var subbla = Element.childrenWithClassName( bla, ''subbla-class'', true ); } ); -------------- This scheme worked well till script.aculo
2006 Nov 13
8
Problems with Prototype in script.aculo.us 1.6.5
Hi, When I''m using the Prototype version attached to script.aculo.us 1.6.5 (Prototype 1.5.0_rc1 revision [5462]) I get some "Object doesn''t support this property or method" in the Effect.BlindDown method (when the method tries to get the dimentions). If I''m using the version of prototype that was attached to 1.6.4 I do not get this error. Is this a known
2006 May 30
4
Limiting getElementsByClassName to specific nodes and entities
I''m currently using "The Ultimate getElementsByClassName" (http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/) instead of the Prototype version. This version seems to be faster since it lets you specify the starting node and the type of entity. For example: var widgets = getElementsByClassName(document, "ol", "tree"); Is
2006 Feb 27
11
Disabling anchor clicking in a draggable
Hey guys I have an interesting problem - I have some draggable elements (sortable actually), with links (<A>) inside them. I want the user to be able to click on the link, however if the user drags the element I don''t want the link to get fired. Can anyone think of a way to do this? It only needs to work in Firefox. Cheers -Rob
2006 Dec 26
1
One content at a time - Effect.toggle
Hi everyone, I am creating a web page which has many links to hidden <div> content, which on clicking reveals the <div> through "Effect.toggle Blind". When i click one link the corresponding <div> blinds down, but when i click some other link the first <div> still persists and won''t blind up. Can anyone please tell me how should i get to work such that
2008 Jan 24
10
sorting divs by class
I have a script that pulls in a bunch of data to my page and parses it out into the following format: <div id="container"> <div id="myID1" class="new">stuff</div> <div id="myID2" class="new">stuff</div> <div id="myID3" class="read">stuff</div> <div id="myID4"
2006 Feb 10
13
Element.observe () binding
Hey all, I working on a project, but I am not sure I can do what I want to do. The following works beautifully: Event.observe(el, ''click'', function () { this.className += " myClass"; return false; }); I have also tried doing this: this.varname = ''test''; Event.observe(el, ''click'', function () { alert (this.varname); }.bind
2008 Aug 17
1
format Date
Hey people.. I have been trying this code write.table(data.frame(date,name,amount,details),file="C:/Documents and Settings/Administrator/My Documents/Account/Account Info.txt",quote=FALSE,append=TRUE,col.names=FALSE,row.names=FALSE,sep="\t") check<-read.table("C:/Documents and Settings/Administrator/My Documents/Account/Account
2007 Dec 17
6
Checkbox array and Ajax.updater
Hello all, I have some checkbox array like these: <input type=checkbox name=list[] value="1">Java<br> <input type=checkbox name=list[] value="2">JavaScript<br> <input type=checkbox name=list[] value="3">ASP<br> <input type=checkbox name=list[] value="4">HTML<br> <input type=checkbox name=list[]
2020 Apr 23
1
Fwd: Load balancer for dovecot servers - Not able to send emails
Hi John, Thank you for the reply. Actually it was setup like this by another member, who left the team/company recently. Now it came to me to handle that responsibility. That's how I got in to this. At present I am not able to migrate/upgrade immediately. Because it sends emails around 100K+ emails everyday and I do not want to disturb that. Coming back to your question, Actually the
2020 Apr 23
2
Fwd: Load balancer for dovecot servers - Not able to send emails
Hi All, I need your help on one of the issue in Dovecot. I have the dovecot version 2.0.9 installed on RHEL linux 6.10 version. It's a single/standalone Live server. Now I have created another server with the same configuration for the resilince purpose. I also tested and I am able to send the emails to both of the dovecot servers separately/individually. They are working fine. Now I have
2020 Jul 28
2
Migration issue
Hi Aki & Dovecot team, Just continuing with the previous discussion "Migration from one server to 2 new servers". Hi, I have tried the same way as per your suggestion. But it's throwing an error. ------------- [root at production2 log]# doveadm backup -a All -R -u kishore at test.ba.com imapc: dsync(kishore at test.ba.com): Info: imapc(production1.baplc.com:143): Connected
2020 Jul 27
3
Migration from one server to 2 new servers
Fair enough but the command snippet I posted was taken directly from your earlier post dated Mon Jul 27 23:11:06 EEST 2020 and it does say ?production1??I just double-checked as well... FWIW?the server order in the command you just pasted is the exact reverse from the Jul 27th post I mentioned above? Here you appear to be exec?ing the command on prod2 and trying to pull from the remote of prod
2020 Jul 27
2
Migration from one server to 2 new servers
Not sure if this matters but the prompt when attempting the ?doveadm backup? command shows it to be a ?production" server? [root at production1 <https://dovecot.org/mailman/listinfo/dovecot> test.org.com]# doveadm backup -R -u kishore at test.org.com <https://dovecot.org/mailman/listinfo/dovecot> remote:vmail at production2.baplc.com
2010 Apr 30
1
re.findall equivalent?
Hi, The regular expression (grep) below does not behave at all like the equivalent in Python. Also, I would be happy if somebody could tell me what the R equivalent for Python's re.findall is. The regex filters out any numbers not enclosed by square brackets, including fractions (with either comma or dot as the separator) and percentages. How should the R code below be modified so it does the
2020 Jul 27
2
Migration from one server to 2 new servers
I seem to recall a post a while back where, due to the age of the remote end, the remote side command had to be entered in the command executed on the local side. Do you have dsync on the 2.0.9 machine? > On Jul 27, 2020, at 4:16 PM, Kishore Potnuru <kishore.reachme at gmail.com> wrote: > > This is what my understanding. May be I am also wrong here. > > Backup option
2020 Jul 27
2
Migration from one server to 2 new servers
Well that option set still doesn?t look correct? Here is the doveadm option set from my 2.2.2 server which is several weeks\months before 2.2.36? [Jul-27 @ 15:25:09 ] > dovecot --version 2.2.2 [Jul-27 @ 15:26:53 ] > ls -l /usr/local/bin/doveadm -rwxr-xr-x 1 root root 1379203 May 22 2013 /usr/local/bin/doveadm [Jul-27 @ 15:25:12 ] > doveadm usage: doveadm [-Dv] [-f