. . . . The ondrag attribute fires when an element or text selection is being dragged. The mouseover event is triggered if a mouse pointer enters any child elements as well. The onblur event is often used on input fields. onkeyup. . [Edit] Apparently I wasn't clear as to what I need. . . jQuery is tailor-made to respond to events in an HTML page. W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Tip: If you have a long list of options, you can group related options within the. 10. When the first element in the collection is a select-multiple (i. JS vs jQuery jQuery Selectors jQuery HTML jQuery CSS jQuery DOM JS Graphics JS Graphics JS Canvas JS Plotly JS Chart. By default, the widget is closed. Tip: It is possible to have autocomplete "on" for the form, and "off" for specific input fields, or vice versa. In a function, this refers to the global object. Tip: The ready () method should not be used. Tip: Use the :odd selector to select elements with odd index numbers. . W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Services filter input ×. . Animation Events Clipboard Events Drag Events Events Focus Events HashChange Events Input Events Keyboard Events Mouse Events PageTransition Events PopState Events Progress Events Storage Events Touch Events Transition. com. . while - loops through a block of code while a specified condition is true. . W3Schools offers free online tutorials, references and exercises in all the major languages of the web. W3Schools is optimized for learning and training. Animation Events Clipboard Events Drag Events Events Focus Events HashChange Events Input Events Keyboard Events Mouse Events PageTransition Events PopState Events Progress Events Storage Events Touch. . Learn jQuery Tutorial Reference Learn Vue. HTML and CSS. The oninput attribute fires when an element gets user input. . . The location property returns the location of a pressed key. g. . . . . Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. click(function(event). . . Moving the playback position (like when the user fast forwards to a different point in the audio/video) Tip: This timeupdate event is often used together with the currentTime property of the Audio/Video Object. .