Retrieves the URL to an external file that contains the source code or data.
Syntax
HTML <SCRIPT SRC = sURL ... > Scripting [sURL = ] oScript.src
Possible Values
sURL String that specifies the URL of the source code or data. The property is read-only with no default value.
Remarks
The SRC attribute first was available in Internet Explorer 3.02. The src property is exposed through the object model as of Internet Explorer 4.0.
In Internet Explorer 5, the SRC attribute of the SCRIPT element can refer to an XML data set if the LANGUAGE attribute is set to XML.
Applies To