JavaScript Reference/Javascript Properties/URL — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:21, 26 мая 2010
"URL" Example
<source lang="javascript">
<html> <body> <button onclick="alert(document.URL);">URL</button> </body> </html>
</source>
"URL" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |document | +----------------+--------------------------------------------------------------+
</source>
"URL" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the document URL.
Syntax:
document.URL
</source>