onfocus event for htmlelement (JavaScript 1.0)

Fires when the element receives focus.

Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 2.0opera 5.0

Browser Support

Examples having uses of JavaScript event 'onfocus'

0 votes
1k views

JavaScript onfocus Event

JavaScript event that triggers when object gets focus.