title: jquery button not respond to click method
body: <p>so i am dynamically rendering a paragraph with jquery using the append method and i want to add a click event to it but for some reason the click event is not working, i know the solution is probably simple but I am new to jquery and would appreciate any help...I know the code inside the function works because i tested it with a static button, it is just not working with the dynamic one..Thanks in advance for any help, </p>
  
  <p>here is my code</p>
  
  <pre><code>$(this).parent().parent().children("div").append("&lt;p class='tryAgain'&gt;Try Again&lt;/p&gt;");
  </code></pre>
  
  <p>the click function code,</p>
  
  <pre><code>$(".tryAgain").click(function() {......}
  </code></pre>