posted 18 years ago
I needed to include an external js file. Oddly
<script type="text/javascript" src="myfile.js" /> caused all script code after this declaration to not execute.
Changing the declaration to
<script type="text/javascript" src="myfile.js"></script> fixed the issue. Is there any reference to explain why the shorthand version of tag closing does not work in html?
Thanks,
Sanjiv