title: how to capture the mouse click for a button which is created by jquery?
body: <p>I hava two divs.  there is a button in div A and nothing in div B.  a new button would be created in div B while I click button in div A. that is:</p>
  
  <p>1) I click the button in div A;</p>
  
  <p>2) the click would trigger a ajax message(jquery), and the message would be send to the background services(written by django);</p>
  
  <p>3) the background services would return a html fragment, which is the new button in div B;</p>
  
  <p>4) the new button would display in div B:</p>
  
  <pre><code>$("#B").empty();
  $("#B").html(response);
  </code></pre>
  
  <p>the response is the html fragment(the html fragment includes the new button whose id is "bt_2").</p>
  
  <p>5) I click the new button in div B;</p>
  
  <p>6) I could not capture this click by using jquery:</p>
  
  <pre><code>$("#bt_2").click(function(tmp_event) {
      alert("get it!");
  });
  </code></pre>
  
  <p>these js scripts are all in the same file(name is hp.js), and the js file is loaded successfully before I click the button in div A.</p>
  
  <p>what should I do if I want to capture the click of the new button? any help would be appriaciate!</p>