& In Javascript...

I don't think w3 will distinguish that it is javascript rather than html changing it to & would stop the js working.

What about saving the js externally importing it into the head...

ie; cut out the js and paste it into a blank doc, name it whatever.js (loose the <script type... > and </script from this)

Then import it like your other one ie. <script type="text/javascript" src="../whatever.js"></script>
 
Back
Top