JavaScript Reference/Javascript Properties/URL
Версия от 18:30, 25 мая 2010; (обсуждение)
"URL" Example
<html>
<body>
<button onclick="alert(document.URL);">URL</button>
</body>
</html>
"URL" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |document |
+----------------+--------------------------------------------------------------+
"URL" Syntax and Note
Note:
Read-only property.
Returns the document URL.
Syntax:
document.URL