title: jQuery create element and use it
body: <p>For example, I have something like:</p>
  
  <pre><code>&lt;div id="buttons"&gt;
      &lt;button class="button"&gt;Click&lt;/button&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
      $(document).ready(function() {
          $('.button').click(function() {
              $('#buttons').append('&lt;button class="button"&gt;Click&lt;/button&gt;');
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>When I press "Click" button, the script will create a new button with the same class "button". 
  When I press this new button -- nothing happens.</p>
  
  <p>I understand why, but I don't know how to avoid this.
  I want my script "see" just created button.</p>