<html>
<link rel="stylesheet" href="josh.css">
<body bgcolor="#FFFFFF">

		<div id="Description">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">onfocus</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">2</span> IE <span class="emphasis">3</span> DOM <span class="emphasis">2</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal"></p>
					</td><td valign="top" nowrap class="requirements">Bubbles: No; Cancelable: No&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Fires when the current element receives focus due to user action
(clicking or tabbing) or invoking of the <span class="literal">focus( )</span>
method. The <span class="literal">onblur</span> event of the next previously
focused element fires before the <span class="literal">onfocus</span> event in
the current element.
</p>
							</td>
						</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
						<tr>
							<td colspan="2"><p>			Although the <span class="literal">onfocus</span> event has been supported for
form controls and window objects since the early days of scriptable
browsers, modern browsers can fire the event on virtually any other
rendered element, provided the <span class="literal">tabindex</span> attribute
is set for the element. Note that IE for Windows is known to omit
firing the <span class="literal">onfocus</span> event on window objects.
</p>
							</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="typicaltargets"><span class="title">Typical Targets</span></td>
				</tr>
				<tr>
					<td colspan="2"><p>			For all browsers, <span class="literal">input</span> (of type text and
password), <span class="literal">textarea</span>, <span class="literal">select</span>,
and <span class="literal">window</span> objects; for IE 5 or later and Netscape
6, add any rendered element for which the <span class="literal">tabindex</span>
attribute is assigned a value.
</p>
					</td>
				</tr>
			</table>
		</div>
</body>
</html>