search for: link_to_rem

Displaying 2 results from an estimated 2 matches for "link_to_rem".

2008 Oct 03
7
form_remote_tag and :with
...39;data=''+request()", :update => ''request_sent'' ) do %> <%= text_field "request", "request" %><br/> <%= submit_tag ''Send Request'' %> <% end %> I was able to get this to work with link_to_remote with the following code: <br/><%= link_to_remote ''Update availability'', :url => {:action => "array"}, :with => "''data=''+test()", :update => ''testing'' %> where test() is the javascript function. T...
2008 Oct 11
8
Observing few fields in a form - Best Practise?
Hi, im looking to build a page similar to a shopping cart page. When you change the ''price'' or ''quantity'' fields, the total is calculated and displayed. There are other fields in the form which have no relation to this action. So i guess observe_form is not required. Can someone tell me what the best practise is for this?