1. <form id="myform" action="someUrl.php" method="get">    
  2.  
  3. 2     <input name="username" />    
  4.  
  5. 3     <!-- some more form fields -->   
  6.  
  7. 4     <input id="submit" type="submit" />    
  8.  
  9. </form>   
  10.  

 

 
  
  1. $('#myform').submit(function(){    
  2.  
  3. 2     $('input[type=submit]'this).attr('disabled''disabled');    
  4.  
  5. 3 });   
  6.  

稀释对象事务动作

 
  
  1. $('#qqqo').unbind('click');