onfocus
An action event handler that gets called when this element gains focus.
Details
- Not all elements accept focus and therefore do not implement this event handler.
- JIN Script is a valid value
Example
<pr>
<input type="button" value="Ok" onFocus="doSomething()" onSelect="delete()" />
</pr>
<pr>
<input type="text" id="searchBox" value="Search..."
onFocus="document.searchBox.value=''; " size="10" />
</pr>
For 24/7 support email support@where.com or call 888-262-1150
WHERE™ is a product from uLocate Communications, Inc. ©2007 All Rights Reserved.