jquery Programming Glossary: foldernames
ruby on rails jquery submit a form as js http://stackoverflow.com/questions/11658326/ruby-on-rails-jquery-submit-a-form-as-js I have this code in my view form_for folder_name remote true method get url action show_workflow_list do f f.select foldernames options_for_select @folders @folders.first onchange this.form.submit br br hidden_field_tag 'selected_domain' params domain_selected.. being submitted as Processing by DeploymentGroupController#show_workflow_list as HTML Parameters utf8 £ô folder_name foldernames DETAIL_ADJUSTMENT When I add a submit button instead of a onchange like below form_for folder_name remote true method get.. of a onchange like below form_for folder_name remote true method get url action show_workflow_list do f f.select foldernames options_for_select @folders @folders.first br br hidden_field_tag 'selected_domain' params domain_selected pre f.submit..
ruby on rails submit a form as a JS based on a change in select box http://stackoverflow.com/questions/11675114/ruby-on-rails-submit-a-form-as-a-js-based-on-a-change-in-select-box get div style margin 0 padding 0 display inline input name utf8 type hidden value #x2713 div select id folder_name_foldernames name folder_name foldernames option value RISK_ODS selected selected RISK_ODS option option value DETAIL_ADJUSTMENT DETAIL_ADJUSTMENT.. 0 display inline input name utf8 type hidden value #x2713 div select id folder_name_foldernames name folder_name foldernames option value RISK_ODS selected selected RISK_ODS option option value DETAIL_ADJUSTMENT DETAIL_ADJUSTMENT option option value.. So i cannot use onchange. I understood that i need to write something like this in my application.js file #folder_name_foldernames .change function #show_workflow_list .submit I used the above code in application.js file but i have to remove require_tree..
|