Ready to get started?Download WordPress


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

  1. uili
    Posted 1 year 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 1 year 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 1 year 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 1 year ago #

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

    100% working now! uhulll!

  5. uili
    Posted 1 year 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 1 year 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 9 months 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 8 months 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 8 months 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 7 months ago #

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

  11. slr1979
    Posted 5 months 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

About this Topic


No tags yet.