JavaScript Reference/Event Handlers Reference/onFocusIn
Содержание
"onFocusIn" Example
<source lang="javascript">
<html> <head> <script language="JavaScript">
function function1() { alert("<a> element will receive focus upon accepting this message") }
</script> </head> <body>
<a id="myL" href="http://www.wbex.ru/" target=_blank onfocusin="function1()"> www.wbex.ru </a>
</body> </html>
</source>
"onFocusIn" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <address> | | |<applet> <area> | | | |
| ||| |<body> <button> |
| || | |
| || | |<custom>
| | | <dir> | |
| |document
- | | | <embed> | | |<fieldset> | | |<form> <hn> | | |
|| |<img> <input type="button"> | | |<input type="checkbox"> <input type="file"> | | |<inputtype="image"> <input type="password"> | | |<input type="radio"> <input type="reset"> | | |<input type="submit"> <input type="text"> | | | <label> |
| |<legend>- | | |<listing> <map> | | |<marquee> <menu> | | |<nobr>
| | |
| | |