how to stop form submit in when in a ajax call
<p>i can only modify the code in the ajax call
a ajax call made when i click the submit  in form named $('#form1')</p>

<pre><code>$('#form1').submit(function(){
$.ajax({
  url:'some.php',
  type:'POST',
  data:somedata,
  success:function(msg){
    if(!msg){
     //i wanna to stop form1 submit here,how to do that?  you can only modify the code in the ajax call
    }
  }
 })
 })
</code></pre>
