Greetings
I am attempting to run a web page on localhost ( that accesses an external javascript file (scripts.js). The page just renders blank. If I embed the javascript the page renders correctly. Javascript file is located in same directory as index (test). My external file contains only code and my script tag in head section of index.html is correct.
<script type = "text/javascript" src = "scripts.js" />
My asp.net pages work fine and my pages access other external files, such as css. My local server is IIS 5.1 on Windows XP Pro.
Any idea why external .js file won't work? Any suggestions would be appreciated. Thanks for your help.
I am attempting to run a web page on localhost ( that accesses an external javascript file (scripts.js). The page just renders blank. If I embed the javascript the page renders correctly. Javascript file is located in same directory as index (test). My external file contains only code and my script tag in head section of index.html is correct.
<script type = "text/javascript" src = "scripts.js" />
My asp.net pages work fine and my pages access other external files, such as css. My local server is IIS 5.1 on Windows XP Pro.
Any idea why external .js file won't work? Any suggestions would be appreciated. Thanks for your help.