Displaying 1 result from an estimated 1 matches for "mydiv0".
Did you mean:
mydiv
2006 Feb 14
3
Can Ajax updates more than one <div>?
Hi,
I wish to know, is it possible that Ajax can update
more than one zone "<div>"???? like :
<%= link_to_remote("Title", :update => ''mydiv0'', :url
=> {:action=>:say_hello} )%>
<div id="mydiv0"> to be changed one</div>
<div id="mydiv0"> to be changed two</div>
When I execute the code, only the first line is
changed, the second one doesn''t...
thanks you very much...