Attributes for <SELECT ...>
onFocus = "script command(s)"
onBlur = "script command(s)"

Usage Recommendation
use it, but don't rely on it

onFocus and onBlur for onFocus work identically as for <INPUT onFocus="...">, so we won't dwell on them long. Let us just reiterate that the most common use for these events, that of changing the status bar, is generally annoying and is a bad idea.

onFocus = "window.status='What Size Pizza?'"
onBlur = "window.status=window.defaultStatus"
<OPTION VALUE="s">small
<OPTION VALUE="m">medium
<OPTION VALUE="l">large

which gives us

pizza size:
phone number:

About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.