• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Handling Events > The onClick Event

The onClick Event

The onClick handler works in a similar fashion to the onDblclick handler, except that a single click triggers it, instead of a double click. The onMouseup handler is also similar, except that the onClick requires that the user press the mouse button both down and up in order to be triggered, while the onMouseup requires just the latter.

Script 9.7. Capture and handle double-clicks with this script.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint