Attaching events after DOM manipulation using JQuery ajax
How to attach all events after manipulating the dom using ajax response. I
have a ajax request which get a html response which is basically a
fragment of html. that fragment HTML have many buttons. I want to refresh
the dom so previously declared and attached events be applied into that
fragment too. I dont want to keep on adding each events for each button
using jquery on(). how else to do it?
No comments:
Post a Comment