An event is the specification (essentially an object created by the browser and JavaScript) of something significant has occurred. Examples of events are click, submit, keyup etc. In JavaScript all the event names are specified in lowercase. An event handler (essentially a function) is a set of statements (code) that handles the event. Below table lists most commonly used events and their associated tag attributes: Event Tag Attribute blur onblur change onchange click onclick dblclick ondblclick focus onfocus keydown onkeydown keypress onkeypress keyup onkeyup load onload mousedown onmousedown mouseup onmouseup mousemove onmousemove mouseover onmouseover mouseout onmouseout reset onreset select onselect
The post A List of Most Commonly used Events in JavaScript appeared first on Coding Security.
A List of Most Commonly used Events in JavaScript
read more
Tidak ada komentar:
Posting Komentar