button preventdefault button allowdefault code example
Example: javascript allow default
$('form').submit( function(ev){
ev.preventDefault();
//later you decide you want to submit
$(this).unbind('submit').submit()
});