title: jQuery click event not firing for dialog button
body: <p>I've login form as shown below,</p>
  
  <pre><code>&lt;a href="#" id="loginLink"&gt;click Here to Log in&lt;/a&gt;
  &lt;div class="formDiv" id="formDiv"&gt;
  &lt;form name="loginForm" id="loginForm" action="#"&gt;
      &lt;label&gt;Email&lt;/label&gt;&lt;input type="text" name="email" id="email"&gt;&lt;br/&gt;
      &lt;label&gt;Passw&lt;/label&gt;&lt;input type="password" name="pwd" id="pwd"&gt;&lt;br/&gt;
      &lt;input type="submit" value="Log in" id="loginbtn" name="loginbtn"&gt;
  &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to submit this form data using <code>Ajax</code>,for that when user clicks on <code>#loginbtn</code> I'm  doing Ajax related stuff,but the trouble is <code>click</code> event not firing when clicks on <code>#loginbtn</code>,here is <a href="http://jsfiddle.net/WNMfA/" rel="nofollow">jsfiddle</a> .</p>