About Functions
- “In computer science, a subroutine (also known as a procedure, function, routine, method, or subprogram) is a portion of code within a larger program that performs a specific task and is relatively independent of the remaining code.” – Source: Wikipedia
- Functions can be recognized by parentheses, for example jQuery() and ready()
Some common jQuery functions
This page lists some commonly used jQuery functions, organized by category.
Ajax
- .get()
- .load()
- .post()
- See jQuery API: Ajax
Attributes
- .attr()
- .html()
- .val()
- See jQuery API: Attributes
CSS
- .addClass()
- .css()
- .removeClass()
- .toggleClass()
- See jQuery API: CSS
Document Object Model (DOM)
- .after()
- .append()
- .before()
- .prepend()
- .text()
- See jQuery API: Manipulation
Events
- .bind()
- .click()
- .hover()
- .ready()
- See jQuery API: Events
Effects
- .animate()
- .hide()
- .fadeIn()
- .fadeOut()
- .show()
- .slideDown()
- .slideUp()
- .toggle()
- See jQuery API: Effects
Traversing
- .each()
- .children()
- .find()
- .parent()
- See jQuery API: Traversing
jQuery API
- See jQuery API for a comprehensive reference to all functions.