PRB: SRC Attribute of the SCRIPT Tag (172924)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 3.0
- Microsoft Internet Explorer (Programming) 3.01
This article was previously published under Q172924 SYMPTOMS
The SRC attribute of the <SCRIPT> tag lets you specify a file as the
JavaScript source, rather than embedding the JavaScript in the HTML. Here's
an example:
<HEAD>
<TITLE>My Page</TITLE>
<SCRIPT SRC="common.js">
...
</SCRIPT>
</HEAD>
<BODY>
...
This attribute is especially useful for sharing functions among many
different pages. Unfortunately, Internet Explorer 3.x does not support it.
STATUS
Internet Explorer 4.x and 5 supports the SRC attribute of the <SCRIPT> tag.
Modification Type: | Minor | Last Reviewed: | 3/3/2005 |
---|
Keywords: | kbcode kbprb KB172924 |
---|
|