We can trigger events when we focus on any form component like textbox, radio button , checkbox etc. This can be achieved by shifting crusher to the component or by moving it by using tab , we can click on the component and keep the focus on it.
We can display a message or trigger some script when visitor exit the page or closes the browser tab.
|onMouseover & onMouseout||change the background color of row or swap images on Mouseover|
|onMousedown & onMouseup||Events triggered when Mouse is clicked and when it is released.|
|onMousemove||When mouse is moved over the elements this event is triggered|
|onClick||Display of Layer with onClick event of button|
|ondblClick||Managing both Single and Double click events|
|onKeyPress||While pressing a key the event to trigger|
|onKeyDown||Events to trigger whle a key is down |
|onKeyUp||Events to trigger on release of a key on keyboard|
Be the first to post comment on this article :