a weird thing when submit a form
<pre><code>$(document).ready(function(){     
  $("#edit-submit").click(function(){
    if($("#field-huima-0-value").val() == '' &amp;&amp; $(".link-field .form-text").val() =='') {
      alert("you must at least enter one value！");
    //  return false;
    }
  });

});
</code></pre>

<p><strong>the jquery version is 1.26</strong>  there are two input text box.  <code>field-huima-0-value</code> and <code>.link-field .form-text</code>.</p>

<p>i want to do: the vistor must be type into one text box and can't type into two input box.and if the vistor doesn't type anything,. then alert a window and prevent the form form submitting.</p>

<p><strong>weird thing</strong> 
when i added the <code>return false</code>. then typed one text box, then click the submit button. the form can't be submitted.if i delete <code>return false</code> , the form can be submitted.</p>

<p>what's error maybe with my code?</p>
