Displaying 1 result from an estimated 1 matches for "create_problem".
2006 Jun 14
3
problem trying to update multiple <DIV> elements with AJAX
...t to work. That is, I want to replace
everything within each <DIV> element with something new. When I try what
I have, nothing changes in the browser. The (what I think are the)
relevant code snippets are as follows:
Calling view:
<%= form_remote_tag(:url => {:action => ''create_problem''},
:complete=>evaluate_remote_response) %>
Controller action:
@choices = get_prob_list_choices
render(:layout=>false)
Returning view:
<% update_element_function("new_prob", :binding=>binding) do %>
<%=render(:partial=>"new_prob")%>
<...