↧
Answer by tamilmani for how to match javascript onSubmit with jQuery submit?
try this... <form onsubmit="addListForm(this);"> ...</form>or<form action="addListForm(this);"> ...</form>
View ArticleAnswer by Adil for how to match javascript onSubmit with jQuery submit?
You can not access this using onsubmmit, pass the source object (form) using this to addListForm<form onsubmit="addListForm(this, event);"> ...</form>function addListForm(form, e){...
View ArticleAnswer by Dipesh Parmar for how to match javascript onSubmit with jQuery submit?
You are not passing FORM object inside function so how can $(this) will get desired FORM.Try<form onsubmit="addListForm(this.form);"> ...</form>function addListForm(form){...
View Articlehow to match javascript onSubmit with jQuery submit?
i have a form<form id="add_list_form"> ...</form>then with jQuery i can do:$("#add_list_form").submit(function(){ $(this).serializeArray()});and this will work.but if i use...
View Article
More Pages to Explore .....