I'd expect all div.out containers to be updated with the value
"testing", but just getting the first one. What is wrong with the
following code?
Expected:
testing
testing
testing
testing
Actual:
testing
The code:
<ul>
<li><button onclick="$
('OUT').select('div.out').invoke('update','testing');">Test</button></
li>
</ul>
<div id="OUT">
<div class="out out1"/>
<div class="out out2"/>
<div class="out out3"/>
<div class="out out4"/>
</div>
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.