javascript SCRIPT src
| src | NN 6 IE 4 DOM 1 |
| Read/Write | |
|
Provides the URL of the .js script file imported into the current script element. If you assign a new .js file to an existing script element in IE, the previous .js file's scripts do not disappear. But any duplications of variable or functions names are overwritten by the definitions from the new file. While Netscape 6 and later do not complain when you assign a new value to this property, the assignment does not necessarily load the new scripts into the current window or frame. |
|
| Example | |
if (document.getElementsByTagName("script")[1].src == "scripts/textlib.js") {
...
}
|
|
| Value | |
Complete or relative URL as a string. |
|
| Default | |
None. |
|
Previous: javascript SCRIPT text
1705,Nickname,Homepage or email,Comments here,Add comment
