jquery - Javascript not loaded when ajax content is loaded -
i have issue relative dynamically loaded content, having sidebar has links , loads pages in way; problem relative javascript not working when pages loaded, used $document(ready) target not working @ all, hint this?
i assume you're binding events in way...
$('a').click(function () {}); and expecting event fire when anchor clicked within dynamic content?
try binding event element doesn't change when page loaded in eg.
$('body').on('click', 'a', function () {}); what happens event bound body, when click event fires on anchor bubbles body delegates anchor
Comments
Post a Comment