How to bind events to AJAX loaded elements
We all use jQuery's AJAX helpers like $.get(), $.post() and $.load(). We also all use jQuery's event bindings. When you use them both, problems such as your event bindings like click() are not bided to your new AJAX loaded elements. To solve this problem you need to bind events to your newly loaded elements. NOTE: Make sure you don't bind the same event to the elements with this event
Comments
Post a Comment