why the prevent form submit code doesn't work?
<pre><code>$(document).ready(function(){ 
    if($("#field-huima-0-value").val()=='' &amp;&amp; $(".link-field .form-text").val() =='')
    $("#edit-submit").click(function(){
       alert("you must at least enter one value！"); 
    });
});
</code></pre>

<p><strong>field-huima-0-value</strong> and <strong>.link-field .form-text</strong> are two input text boxes id and class.</p>

<p>when the two input text boxes is null. i click the submit button. the alert box shows, then i click ok. the form still be submitted. but now,i want to prevent the form  from   submitting. so i add the <code>return false;</code> under the <code>alert</code> line. it can prevent the form submitting.but when i type a value into one input boxes of the them, when click the button. it still shows the alert box. </p>
