I want to prevent a submit button with onclick event from submitting:
$j(\'form#userForm .button\').click(function(e) { if ($j(\"#zip_field\").val() >
Don't forget that there are function/event arguments, but you must specify the parameters:
$("#thing").click(function(e) { e.preventDefault(); });
In this way, the submission is halted, and so you can conditionalise it.