- onChange – Occurs after a value is selected from the dropdown.
- onFocus – Occurs after the dropdown gains focus. It triggers the JavaScript event before the dropdown is opened.
- onBlur – Occurs after a value is selected from the dropdown and the focus is removed from it.
- onKeyDown – Occurs after a keyboard key is released when the dropdown is opened or when the dropdown has the focus.
- onKeyDown – Occurs after a keyboard key is pressed when the dropdown is opened or when the dropdown has the focus.
- onClick – Occurs after a dropdown is clicked.
- onMouseOver – Occurs after the dropdown is hovered with the mouse cursor.
- onMouseDown – Occurs after the dropdown is clicked. Works similar to the onClick event but it triggers the JavaScript event before the dropdown values are expanded.
- onMouseUp – Occurs after the dropdown is clicked and the click button is released.
5 May 2014
Dropdown events in javascript
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment