Displaying 1 result from an estimated 1 matches for "where_clause_div".
2006 May 07
1
Clean incrementer across Ajax calls?
...an ajax call that increments a number each time
it is
called. Basically I have want to render a partial that contains a call
to
append that same partial again at the end of the div. Perhaps it will
help
if I give the example code.
So in my view.rhtml i have:
=== view.rhtml ===
<div id="where_clause_div">
<%= link_to_remote ''Add'',
{ :update => ''where_clause_div'',
:url => { :action => :make_where_clause },
:position => :after} %><br />
</div>
And in my controller...