Advanced AJAX Page Loader
[resolved] Reload Scripts (11 posts)

  1. uili
    Posted 3 years ago #

    Is there a way to reload the js files, and not the code? like, pointing the .js URLS instead of writing down the js code


  2. Courtney Fantinato
    Posted 3 years ago #

    Yes, this has worked for me:

    jQuery.getScript("url/to/your/script.js", function(data, textStatus, jqxhr) {
       //console.log(data); //data returned
       //console.log(textStatus); //success
       //console.log(jqxhr.status); //200
       //console.log('script.js loaded.');

    Just paste and edit in the Reload Code box. Uncomment the console messages to check if it's working or not.

    Hope this helps!

  3. uili
    Posted 3 years ago #

    beautifull!! that worked it out!!
    Now i have another issue, i think some css files are not been loaded too, is it possible to reload those .css on too?

    What im doing is to integrate woocommerce on it, its everything almost done, but its not loading the plugins css!

  4. uili
    Posted 3 years ago #

    wow, somehow i inserted the sharethis reload code, and loaded everything else ok!

    100% working now! uhulll!

  5. uili
    Posted 3 years ago #

    actually, its not, i had to copy all the woocommerce css to theme folder.. still looking for a better way to do, or for a woocommerce reload script

  6. Ebere
    Posted 2 years ago #

    Hello there,

    I am having a problem where pages with Inline Javascripts that load external content do not work properly. Please help

    Also what is a relaod coad like?

  7. mfragale
    Posted 2 years ago #

    Courtney Fantinato, that code works great! But what if I don't know the URL to my script? I have a few plugins that load some scripts and css and i can't know exactly all the URLs the plugins load.

  8. Courtney Fantinato
    Posted 2 years ago #


    You'll have to do a search in the source of the page for any scripts that are loaded from plugins (search for ".js" and go through them all). I haven't had to reload CSS files, only JavaScript files.

  9. kings3jm
    Posted 2 years ago #

    Could this work with Nextgen gallery slideshows? I can't update the nextgen gallery plugin because there is no new reload code and the update breaks the old one. Any ideas?


  10. Dean Williams
    Plugin Author

    Posted 2 years ago #

    kings3jm please start a new topic, do not use other peoples topics for your problems.

  11. slr1979
    Posted 2 years ago #

    Courtney Fantinato....Thank you so much, this has sorted out my issues with Buddypress and AAPL working together and now they appear to working in harmony! Now, hopefully I can streamline my reload.js.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced AJAX Page Loader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.