Title: Javascript not working with the plugin?
Last modified: January 14, 2022

---

# Javascript not working with the plugin?

 *  [simonvinder](https://wordpress.org/support/users/simonvinder/)
 * (@simonvinder)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/javascript-not-working-with-the-plugin/)
 * Hi,
 * I am attempting to dynamically load a page into a div, using your plugin. The
   page has an accordion that uses Javascript to close/open. I bring in the content
   for the accordion dynamically using AJAX after a button click. However it seems
   that Javascript doesn’t trigger properly? The javascript works fine if the page
   is not loaded by Ajax.
 * Is there any way to make the script run each time I’ve clicked a PLA link? Or
   do you know what else might be wrong here?
 * Thanks in advance,
    Simon

The topic ‘Javascript not working with the plugin?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/page-load-ajax.svg)
 * [Page Load Ajax](https://wordpress.org/plugins/page-load-ajax/)
 * [Support Threads](https://wordpress.org/support/plugin/page-load-ajax/)
 * [Active Topics](https://wordpress.org/support/plugin/page-load-ajax/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-load-ajax/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-load-ajax/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [simonvinder](https://wordpress.org/support/users/simonvinder/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/javascript-not-working-with-the-plugin/)
 * Status: not resolved