Displaying 1 result from an estimated 1 matches for "5cd99ed8a5959df9fa951ccae27261dd".
2013 Dec 12
2
JS response -pls help somebody
Hi all,
Pls help to find a solution :
i have a form like following
<%= form_for @product , :url => products_url(:format => ''js''), :html
=>{:id=>"create_product_form" ,:multipart => true,:remote=>true} do |f|
%>
what i have to do is like when submiting form i have to redirect to new
page else want to execute js like following
def create
if