That’s what my guess was, seems, OP dude, that something is messdeded up which yo proto lib.

 

J

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Brian Peiris
Sent: Thursday, March 16, 2006 4:29 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] help with each

 

This works perfectly with me (scriptaculous 1.5.3, prototype 1.4.0):
<html>
<head>
<script src="" type="text/_javascript_"></script>
<script src="" type="text/_javascript_"></script>
</head>
<body>
    <div id="editView1" class="editView">test1</div>
    <div id="editView2" class="editView">test2</div>
    <div id="editView3" class="editView">test3</div>
    <div id="editView4" class="editView">test4</div>
   
<script>
    var items = document.getElementsByClassName('editView');
   
    if (items.length > 0){
           items.each(function (result){
                   alert( result.id);
           });
           }
</script>
</body>
</html>


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

Don't know... try digging into the code to see what that method is
returning though. I would if I had that version of proto.

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




--
============================
Brian Peiris
Brampton, Ontario, Canada
[EMAIL PROTECTED] or [EMAIL PROTECTED]
============================

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