what's the usage/meaning of jQuery event.detail? -
I handle click events on a button and click on I could not find it in jQuery, it's just written that it's there, but it does not tell what it does. Event Properties The following properties are guaranteed, despite being a member of the event object, some of them may be undefined: AltKey, attrChange, attrname, bubbles, button, cancelable, charcoda, client x, client y, ctrlKey, currentTarget, data, description , eventfase , Element, Handler, Keycode, Layerax, Layer Layer, Metaca, NewView, Offset X, Offset Y, Original Target, Pagex, PageY, Preworld, Affiliation This node, related tag, screenX, screen, palette, sequelment, target, to element, view, wheeledelta, , this event varies by type. Depends on the type of incident gives additional numerical information about the incident see the Notes section for details. For mouse events such as Click, DoublesClick, MouseDown or Mouseup, the property of the expansion indicates how many times the mouse has been clicked in the same place for this event. / P> The value of the expansion for a dblclick event is always 2. e.detail = 0 However, when I enter a text box and for some reason a button click is triggered (asp.net)
e.detail = 1 .
event.detail property ...
Comments
Post a Comment