Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

support for external .js files

Status
Not open for further replies.

y2k1981

Programmer
Aug 2, 2002
773
IE
does opera not support external js files? I created a function in an external js file and called it in IE5, NN4 and Opera. Opera just sat there and didn't do anything. When I put the same function between the script tags, it worked perfectly in opera. So I'm guessing it doesn't support external js files, I just wanted some confirmation, and also, is there any way around this?
 
Opera supports external js files, it has done so for a long time. I have some linked from the head like so:
<script type=&quot;text/javascript&quot; src=&quot;test.js&quot;>
</script>

Have you an example URL we could look at?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top