What will be the behaviour if I use Javascript onSubmit handler and jQuery submit handler together ?
<form action="" method="post" onSubmit="myJavascriptHandler();">
<input type="submit" />
</form>
<script type="text/javascript">
$("form").submit(myJQueryHandler);
</script>
As you can see from the fiddle
myJavascriptHandlerwould be called first and thenmyJQueryHandler. I think this is because jquery just adds one more event listener to the form leaving the old one intact.