jQuery Document/ Window Events
jQuery Document/Window events handle interactions with the document or window.
Document events | Description |
---|---|
load() | load is a document event that triggers when the entire page and its resources have loaded. |
resize() | resize is a window event that triggers when the window is resized. |
scroll() | The jQuery scroll() is an inbuilt method that is used to user scroll in the specified element. |
unload() | The unload is a window event that triggers when the page unloads. |
jQuery Events
jQuery events are actions or occurrences that happen on a web page, such as clicks, hover, or keypress. jQuery provides methods to handle and respond to these events with ease. jQuery events are used to create dynamic web pages.
Syntax:
$(selector).method(function)
Here We will explore some basic events along with their basic implementation of examples.
Contact Us