title: Click after removing disabled from button
body: <p>Using jQuery I want to submit a button that was previously disabled. When I remove the attr of <code>disable</code> then do a <code>.click()</code> it doesn't trigger and send me to the next page. But if I do an <code>alert("XYZ");</code> then <code>.click()</code> it sends me to the next page. I assume this has to with the time taken to disable then click(It's not disabling before the click event is fired). </p>
  
  <p><strong>Working Example Of "Broken" Behavior</strong>: <a href="http://jsfiddle.net/LmFjd/71/" rel="nofollow">http://jsfiddle.net/LmFjd/71/</a> - This is how I have my code setup and exactly what is not working for me. Notice that it triggers the onsubmit event, but it doesn't actually submit. </p>
  
  <p><strong>Working Example Of Expected Behavior</strong>: If you put a <code>.show()</code> in there it works: <a href="http://jsfiddle.net/LmFjd/70/" rel="nofollow">http://jsfiddle.net/LmFjd/70/</a></p>
  
  <p>When there is an alert between the removeAttr and the click() it works, otherwise the click doesn't trigger.</p>
  
  <p>For clarification, I'm using jquery-1.5.1.min.js. It's a JSP page, using Apache Tomcat 6.0.29. It's a spring MVC WebApp, and I'm using the section inside a jQuery UI Dialog dismiss button</p>
  
  <p><strong>Hackish Solution</strong>: Putting a <code>.show()</code> before the <code>.click()</code> makes it work.</p>