React to AJAX adding to the page

Wordpress

How can I have my JavaScript run every time AJAX finishes adding content to the page?

My JavaScript file loads and runs, but only on first page load. I'm looking for the equivalent of Drupal.behaviors.attach. Is there such a thing on WordPress?

Share:

Post a Comment

Designed by OddThemes | Distributed by Blogger Themes