' MouseDown touchstart ', ' MouseMove touchmove ', ' MouseUp mouseleave touchend touchleave touchcancel ', ' Wheel mousewheel do Mmousescroll ',
When you double-click a button, the element is hidden or displayed:
DblClick event, double-click event
$ ("button"). DblClick (function () { $ ("P"). Slidetoggle ();});
Form events (Input+propertychange can be triggered in real time)
1. The difference between the onchange event and the Onpropertychange event:
The onchange event is triggered when the content changes (two times the content is likely to be equal) and loses focus, and the Onpropertychange event is triggered in real time, and each additional or deleted character is triggered, and the event is triggered by a JS change, but the event is IE proprietary.
2. The difference between the Oninput event and the Onpropertychange event:
The Oninput event is an event supported by most browsers outside IE, which is triggered in real time when value changes, but does not trigger when value is changed by JS, and the Onpropertychange event is triggered by any property change. Oninput is only triggered when value changes, oninput to register through AddEventListener (), Onpropertychange registration method is the same as the general event.
3. Oninput and Onpropertychange failure conditions:
Oninput Event:
(1) When the value is changed in the script, it will not be triggered;
(2) When selected from the browser's automatic drop-down prompt, does not trigger;
Onpropertychange Event:
When input is set to Disable=true, it is not triggered.
All Events Event Highlights