JavaScript Reference/Javascript Properties/readyState
Содержание
"readyState" Example
<source lang="javascript">
<html> <body> <script language="JavaScript">
function function1() { var m = document.all.myI.readyState; alert(m); }
</script> <img id="myI" src="yourimage.jpg" alt="" width="300" height="225"> <input type="button" value="Get the state of the image object" onclick="function1();"> </body> </html>
</source>
"readyState" 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> | | |<frame> <frameset> | | |<head> <hn> | | |
<html> || | <iframe> | | |<img> <input type="button"> | | |<input type="checkbox"> <input type="file"> | | |<input type="hidden"> <input type="image"> | | |<input type="password"> <input type="radio"> | | |<input type="reset"> <input type="submit"> | | |<input type="text"> | | |<isindex> | | |<label> <legend> |
| |- <link> | | |<listing> <map> | | |<marquee> <menu> | | |namespace <nobr> | | |<noframes> <noscript> | | |<object>
| | |<option>
| | |<plaintext>
| | |