Search

10/03/2007

JavaScript event出現順序

1. mouse event
Javascript - Mouse Events

  • single click: mouse down->mouse up->click
  • double click: mouse down->mouse up->click->mouse down->mouse up->click->dobule click


2. keyboard event
JavaScript - Detecting keystrokes
  • keydown->keypress->keyup

沒有留言: