title: cant select input button with id using jQuery
body: <p>I have the following code on my script file:</p>
  
  <pre><code>$(document).ready(function(){
     $("#cancel_button").click(function(){
        alert("TEST");
     });
  });
  </code></pre>
  
  <p>And in my site i have this:</p>
  
  <pre><code>&lt;form id="edit_news_form" method="post"&gt;
      &lt;input type="hidden" name="news_id" value="30"&gt;
      &lt;input type="text" name="title" placeholder="Título" value="TEXT" size="80"&gt;&lt;br&gt;
      &lt;textarea name="text" placeholder="Texto" rows="20" cols="58"&gt;TEXT&lt;/textarea&gt;&lt;br&gt;
      &lt;input type="text" placeholder="Tags" value="Tag1" name="tags" size="80"&gt;&lt;br&gt;
      &lt;input id="edit_button" type="submit" value="Edit"&gt;
      &lt;input id="cancel_button" type="button" value="Cancel"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Why i cant select the button and receive the alert?</p>
  
  <p>-------------EDITED ------------</p>
  
  <p>The problem is that i'm insert the html code dynamically with jquery...So i forget this detail.. for this work is necessary use: </p>
  
  <pre><code>$('#cancel_button').live('click', function);
  </code></pre>
  
  <p>Thank u all</p>