× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Click events won't work directly on Ajax contec

Suresh Atta
Jan 29, 2016
<p>For the html elements created by Ajax, you always need to use even delegation. Then they must got the event triggers from document object.</p> <p> </p> <p>For ex: </p> <hr> <p>$(document).on("click", "#dynamic_content"), function() {</p> <p>...</p> <p>}</p>
comments powered by Disqus