Problems with link_to_remote

user splash
2008-01-24T02:56:24Z

Hi,

I have been trying and searching for so long....... I have a label, a
text field and a link_to_remote link.

In the rhtml, it looks like this:



Item
0
<%= n.text_field :display_bin_txt
%> <%link_to_remote( "add", :update => "abc", :url
=>{ :action => :add_item
}, :position => "bottom") %>



When I click the link, a new label with the number incremented, Item 1
and a new text field will appear below the previous label, Item 0 and
text field. Can anyone tell me how can I acheive that?


Thanks