We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • The validator gets snippy about && in Javascript, too. The only way around that is to have all your javascript in a separate file and include it.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 15914
      • 145 Posts
      Quote from: sottwell at Feb 27, 2006, 08:32 AM

      The validator gets snippy about && in Javascript, too. The only way around that is to have all your javascript in a separate file and include it.

      I think we can get around that by putting this around our JS:

      //<![CDATA[
      ...
      //]]>
        Kunal Kapoor
        Technical Director
        Limesharp Internet Limited - Effective, Functional, Standards Compliant

        IRC Nick: KingKoopa
        Skype ID: KingKoopa16