title: Add new event on new created element in jquery
body: <p>I try to add event after click on button, who is created by append. </p>
  
  <pre><code>$("#panelEdycji").append("&lt;div class='text-center'&gt;&lt;button id='zamknijTo' type='button' class='buttons_close btn btn-info btn-xs'&gt;"+ikona_powrot+"Powrót &lt;/button&gt; &lt;/div&gt;");
  </code></pre>
  
  <p>That work`s great, but now, I want to add event click in this:</p>
  
  <pre><code>("#zamknijTo" ).click(function() {
      alert("ok");
  });
  </code></pre>
  
  <p>But this not work, What I do wrong?</p>