We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8592
    • 22 Posts
    How can load an external Javascript file in a snippet????!!! huh
      I love computer programming...
      • 26435
      • 1,193 Posts
      $myscript = 'path/or/url/to/myscript.js';
      $modx->regClientStartupScript($myscript);


      -sD-
      Dr. Scotty Delicious, Scientist.
        Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
        All of the above... in no specific order.


        I send pointless little messages
        • 8592
        • 22 Posts
        Thanks,
        I’m developing a very simple snippet (WebLogin)
        It could be a good prective to join you for Ajaxify WebLogin PE ;-)
          I love computer programming...