title: jQuery Dynamic Button Click Handler
body: <p>I have a code the change the html of a div to make a button. When I make a click handler for the dynamic button, nothing happens</p>
  
  <pre><code>$('#signinup').html("&lt;button id=\"login_submit\"&gt;Sign In&lt;/button&gt;");
  </code></pre>
  
  <p>And the handler:</p>
  
  <pre><code>$('#login_submit').click(function() {
     alert("Works!");
  });
  </code></pre>