| Events | |||
| ondblclick events | |||
This event occurs when the user double clicks on an object. When the mouse left button is clicked twice quickly on an object the ondblclick event fires to which we can connect with a functionality and can it programmed accordingly. |
|||
| Example: | |||
| <html> <head> <title>events </title> </head> <body bgcolor=green text=yellow"> <h4 align =center> Please double Click the link</h4> <a href="shark.jpg" ondblclick="ff()"> Double click on me to load image </a> <script> function ff() { window.open("shark.jpg","") } </script> </body> </html> |
|||
| Click here to view this program in browser | |||
|
|||