If you go back through that thread from yesterday, you’ll see that I (and the other responder) made the mistake of seeing “getElementsByClassName” and thinking he was talking about “getElementsByTagName”. So we were both barking down the wrong tree, saying you had convert the nodeList into a prototype friendly enumerable array.

 

The OP’s problem turned out to be a corrupted version of the prototype.js file. Not sure how his got messed up, but he re-downloaded it and said it works fine now.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Francisco Calderon
Sent: Friday, March 17, 2006 6:11 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] help with each

 

hello there, what is the diference exactly between the two arrays?

On 3/16/06, Ryan Gahl <[EMAIL PROTECTED] > wrote:

You first have to convert it to an enumerable array (use the $A() helper
method for that)...




--
//
//   Ing. Francisco J. Calderón S.
//   [EMAIL PROTECTED]
//   Usuario de GNU/Linux  nº 349529
//   Maracay, Venezuela
//

The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material.  Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers.

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to