Displaying 1 result from an estimated 1 matches for "newdiv_id".
2006 Feb 05
0
Using javascript with update_element_function
Hi,
I am using evaluate_remote_response and update_element_function, to update
elements with blocks of content, something like this:
<% update_element_function("div_id", :binding => binding) do %>
<div id="newdiv_id">
This is a new div!
</div>
<%= draggable_element(''newdiv_id'') %>
<% end %>
That will update the element with "div_id", and put the new div inside it.
That works, the part that doesn''t work is the scriptaculous helper method.
I...