Disable submit functionality for all forms on a HTML page
Use this:
<form id="myform" name="myform" onSubmit="search();return false;" action="">
You should be able to do:
$('form').submit(false);
From the jQuery documentation:
In jQuery 1.4.3 you can now pass in false in place of an event handler. This will bind an event handler equivalent to: function(){ return false; }. This function can be removed at a later time by calling: .unbind( eventName, false ).