search for: div_id_dataentry_bottom_ajax

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

2006 Mar 15
2
Using form_remote_tag, setting the form name
I''m using form_remote_tag like this: <%= form_remote_tag \ :update => "div_id_dataentry_bottom_ajax", :loading => "document.getElementById(''wait'').innerHTML=''Loading...'';", :url => { :action => "dataentry_bottom_edit" } %> And it makes this code: <form action="/x/dataentry_bottom_edit" method="post&qu...
2005 Dec 21
3
How to make a drop-down automatically submit an AJAX form
...e screen, rather than into the div where it is meant to go. I''ve already got it all working so that if you click on the submit button, all is fine, but i''d like to know how to make it automatic. My RHTML code looks a bit like this: -- <%= form_remote_tag :update => "div_id_dataentry_bottom_ajax", :url => { :action => "dataentry_bottom_edit" } %> <select id="department_id" name="department_id" onchange="this.form.submit();"> <%= options_from_collection_for_select @departments, "id", "department_name" %&g...