We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2602
    • 24 Posts
    So i’ve been trying to execute some code via the JS content type document, and its refusing to execute in IE and Opera. In FF, it runs fine. I’ve tried to simplified the JS code to a simple alert(’hi’); statement, and still no go.

    Im calling the document using:

    echo $modx->regClientStartupScript(’[~50~]’);



    Anyone have similar issues with the js contenttype?


      • 2602
      • 24 Posts
      thanks for that. I found out though it was actually my JS that was causing a problem.