Quantcast
Channel: how to match javascript onSubmit with jQuery submit? - Stack Overflow
Browsing latest articles
Browse All 4 View Live

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 Article


Answer 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 Article

Answer 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 Article

how 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
Browsing latest articles
Browse All 4 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>