Sets or retrieves the URL for the current document.
Syntax
HTML N/A Scripting document.URL [ = sURL ]
Possible Values
sURL String that specifies the URL. The property is read/write with no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.
Remarks
The URL property is case-sensitive.
This property is an alias for the location.href property on the window.
Applies To
HTML N/A Scripting document