Name
src — NN n/a IE 4 DOM 1
Synopsis
Read-only
URL of the .js script file imported into the
current SCRIPT
element.
Example
if (document.all.scripts2.src == "scripts/textlib.js") { ... }
Value
Complete or relative URL as a string.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.