title: JQuery can not select dynamically created html elements
body: <p>I create my Html elements using java script <code>createElement()</code>.But I cannot select any of the html elements in JQuery -- <code>$("p").on("click",function(){})</code> . It works for <code>$(document)</code> though. My JQuery script is at the end of the body in the html page. But when inspect elements is checked in the browser after page creation html elements are below the scripts.</p>
  
  <p>I have seen there many other similar questions but none of them worked. Please help me solve this I have been working on this for couple of days now and its taking me no where.</p>