JavaScript Reference/Event Handlers Reference/onReadyStateChange — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:22, 26 мая 2010
Содержание
"onReadyStateChange" Example
<source lang="javascript">
<html> <head> <script language="JavaScript">
document.onreadystatechange=function1; function function1 () { if (document.readyState=="complete") { alert("The document ready state is "complete"") }
} </script> </head> <body>
Body content
</body> </html>
</source>
"onReadyStateChange" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> <applet> | | |<area> | | |<base> <basefont> | | | <bgsound> |
| ||| |<body>
| | |<button>| | | | | |
| |<dir><col> | | |<colgroup> <comment> | | |<custom>
| | | || | |document | | |
- | | |<embed> <fieldset> | | | <form> | | |<head> <hn> | | |
<html> || | <iframe> | | |<img> <input type="button"> | | |<inputtype="checkbox"> <input type="file"> | | |<input type="hidden"> <input type="image"> | | |<input type="password"> <input type="radio"> | | |<input type="reset"> <inputtype="submit"> | | |<input type="text"> | | |<isindex> | | |<label> <legend> |
| |- <link> | | |<listing> <map> | | |<marquee> <menu> | | |namespace <nobr> | | |<noframes> <noscript> | | |<object>
| | |<option>
| | |
| | |