Displaying 1 result from an estimated 1 matches for "add_receipt".
2006 Feb 08
0
form_remote_tag and tables
...ered
on top of the first item. The existing items are not shifted down as
in the <ul> case. Is this normal behavior for tables? Here''s what I''m
doing:
VIEW:
<%= form_remote_tag(:update => "receipt_list",
:url => { :action => :add_receipt },
:position => "top" ) %>
...
<%= end_form_tag %>
<table id="receipt_list">
...
</table>
CONTROLLER:
...
def add_receipt
...
render :text => "<tr><td>"..."</td></tr>"
end
If anyo...