asp or html should have no impact on your js code execution. Would
need to see more of the page to determine the actual problem.
Better syntax for including js files is:
<script type="text/javascript" src="jscript/jscriptname.js" />
the "language" attribute has been deprecated for a while now.
Regards,
Tim.
"Al" <jo*****@msn.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
Does any one know why the javascript does not work
when the page is an .ASP instead of an html.
I do not have the javascript in the code, what I do
I call it within the .ASP as follow.
<script language='Javascript'
SRC='jscripts/jscriptname.js'></script>
The jscript work fine once I rename the page into .htm or html.
Any Idea
TIA