jQuery will simplify DOM manipulation by allowing users to find, select and manipulate elements with specific properties. Users can also change element attributes and respond to events. jQuery can use Ajax to pass data between browsers and the servers without having to reload the web page. Event handling is provided by an event handler which receives an object upon an event. The event handler specifies the type of event and executes a DOM element function to prevent the event’s effect. The syntax for these simplicities is provided through jQuery’s selector engine, Sizzle. Sizzle is a CSS selector engine which can run through DOM elements to find specified elements.
Features provided by jQuery include:
- A light footprint around 30 kB.
- Supports Chrome, Firefox, Safari, Internet Explorer and Edge.
- Event handling
- Ajax support
- Plug-in support
- DOM element manipulation based on CSS selectors.
- JSON parsing
- Feature detection
- Animation effects
Functions which plug-ins provide include XML tools, cookie handling, table sorting, Ajax helpers, drag and drop functionalities, and form validation. End-users can create and execute their own plug-ins or can freely make them available to others who may benefit from their use. The jQuery team also maintains some plug-ins. Plug-ins can be found on a GitHub-hosted repository.