Hello, I have the simple form like <script type="text/javascript"> // wait for the DOM to be loaded $(document).ready(function() { $('#myform').ajaxForm(function() { alert("Thank you for your comment!"); }); }); </script>
and form <form class="myform" id="myform" name="myform" method="post" action="index.php"> <input name="Imp1" value="22" type="hidden"> <input name="Imp2" value="" type="hidden"> <input name="Imp3" value="//"> <input name="Imp4" value="" type="hidden"> <a href="#" onClick="document.forms.myform.submit(); return false;">submit</a> <a href="#" onClick="document.forms.myform.submit(); return false;">submit2</a> </form> but it's not working :( Form submit, but jQuery Form don't catch this : (