jQuery cant select html tags that appended by jQuery?

jQuery cant select html tags that appended by jQuery?

  1. <!DOCTYPE html> 
  2. <html> 
  3. <head><script src=js/jquery-1.4.2.min.js></script></head> 
  4. <body>
  5. <span id="add">Click to add button</span>
  6. <div id="content">
  7. </div>
  8. <input name="outside" type="button" value="original">

  9. <script>
  10. $("body input[type=button]").click(function()
  11. { alert('YES!!');
  12. });

  13. $("body > #add").click(function()
  14. { $("body > #content").append("<input type=\"button\" value=\"created with jquery\">");
  15. });
  16. </script> 
  17. </body> 
  18. </html> 
When we click on the "original" button,it pops out a message,but the "created with jquery" button that created by clicking "Click to add button" doesn't pop out any message box.

Could someone tell me how to fix it?