search for: dataentry_bottom_edit

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

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" onsubmit="new Ajax.Updater(''div_id_dataentry_bottom_ajax'', ''/x/dataentry_bottom_edit'', {asynchronous:true, evalScripts:true, onLoading:fun...
2005 Dec 21
3
How to make a drop-down automatically submit an AJAX form
...9;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" %> </select> <%= submit_tag "Open for Data Entry...