Text not allowed in element script in this context.

Error  Line 35, Column 50: Text not allowed in element script in this context.

	<script src='menu.js'>//Loads the Expandable Menu</script>

>From the documentation.

<script src="cool-effects.js">
 // create new instances using:
 //    var e = new Effect();
 // start the effect using .play, stop using .stop:
 //    e.play();
 //    e.stop();
</script>


For all reasons and purposes, this should validate, but does not.

It also errors out on /*Loads the Menu */

Thanks,
Scott

Received on Tuesday, 11 August 2009 21:08:23 UTC