My Docs
My BlogPython Data StructuresRepoFamily-Promise-Docs
Copy of Web-Dev-Hub-Docs
Copy of Web-Dev-Hub-Docs
  • Home
  • Navigation
  • Tools
    • Tools
      • Docker
      • G-Cloud & Firebase
      • Heroku
    • Showcase
      • Utilities
      • Continued
        • Page 3:
    • Downloads
    • How To Configure Ubuntu
    • REPL.IT Compilations
      • Part 2
    • Past Notes
      • Command Line Reference
    • Git
    • JavaScript
      • Interview Problems
      • General JavaScript Notes
      • jQuery
      • NodeJS
        • Node argv
        • NPM
        • Express
          • ExpressJS Overview
          • Sequelize
      • Regex
      • React
        • React Examples:
        • Redux
        • Redux Docs
          • Redux Resources
        • React Notes
    • My Bash Commands
    • Resources
      • Hosted Resources
      • Everything
      • React Resources
  • Programming Languages
    • Programming Languages
      • File System
      • Basics
      • PSEUDO Programing Languages
        • HTML
      • CSS
      • List Of Programming Languages By Type
      • Tools-Of-The-Trade
        • Linux
        • Docker
      • Git
      • Python
        • Pydrive:
        • Practice
        • Pipenv
        • Untitled
      • Bash
        • SED
      • CHEATSHEETS
      • Java
      • Bash Script
        • SSH Cheatsheet
      • Html
      • Markdown
      • CSS
      • SCSS
      • C & C++
      • Ruby
      • SQL
        • PostgreSQL
    • What is a Programming Language?
  • Python
    • Python
    • Install PIP
  • JavaScript
    • JavaScript
      • Jquery
    • Writing Files
    • JS-Leetcode
  • Web Development Frameworks & Libraries
    • GRAPHQL
    • React
    • Jquery
      • Prac
    • GATSBY
      • Untitled
      • Building with Components
      • Plugins, Themes, & Starters
      • GraphQL Concepts
  • Productivity
    • Productivity
      • Awesome Productivity Tools for Back-to-School
  • Misc
    • Misc
      • Experiments
  • GitGateway
    • Links
    • Bookmarks
  • Websites
    • Websites
    • Not My Websites:
  • Backend
    • Backend
  • Networking
    • Networks
  • Resources
    • Resources
    • Video Resources
  • General Knowledge
    • General Knowledge
    • Knowledge Bank
  • Finance
    • Finance
    • Finance Reference
    • Financial Trends
  • Science & Tech (Innovation)
    • Science & Tech
    • Articles
  • Reading
    • Reading
  • Social Media & Trends
    • Trends In Web Dev
    • FB-Dev-Open Source
      • Content Publishing
    • IG-API
  • Docs
    • Docs
    • Refactoring Guide
  • Code Editors & Tools
    • Vscode
      • Vscode Docs
      • How To Speed Up Vscode
  • Cool Stuff
    • Cool Observable Notebooks
  • Server-Side
    • GraphQL
      • Intro
    • Rest VS GraphQl
    • REST-API
    • Public APIs
  • WEB_DEV_TOOLS
    • Web Dev Tools
    • Cloudinary
    • Postman
      • Creating an API
      • Trouble Shooting Postman
    • Netlify
      • Facebook Graph API
      • Pandoc
      • Graph API
      • Troubleshooting
      • Examples
      • HTTPS (SSL)
      • Open Authoring
      • Netlify CMS
      • Git Gateway
  • DS_ALGOS_BRAINTEASERS
    • A Quick Guide to Big-O Notation, Memoization, Tabulation, and Sorting Algorithms by Example
  • Free-Stuff
    • Free Stuff
  • Job-Search
    • Job Search
    • Outreach
  • General Comp Sci
    • Principles behind the Agile Manifesto
  • Blockchain & Crypto
    • Blockchain Basics
      • Basics:
  • Data Structures & Interviewing
    • Data Structures
  • REACT_REVISITED
    • Modern React with Redux
      • React-Projects
  • WEBDEV-Bootcamp-Notes
    • 🏫Lambda
      • 1.1 - User Interface and Git
      • Page 2
      • Page 1
      • Page 3
      • Page 4
      • Page 5
      • Page 6
      • Page 7
      • Page 8
      • Page 9
      • Page 10
      • Page 11
      • Page 12
      • Page 13
      • Page 14
      • Page 15
      • CS-Python-Notes
        • Python
  • testing
    • Testing:
      • Configure Jest for Testing JavaScript Applications
      • install, configure, and script Cypress for JavaScript web applications
      • Test React Components with Jest and `react-testing-library`
      • Use testing library to evaluate any framework...
  • Medium-articles
    • My Articles
      • Python For JS Developers
      • JavaScript Programmer
      • Awesome Web Development Youtube Video Archive
      • Bash Commands That Save Me Time and Frustration
      • Git-Tricks
      • scrap
      • Medium Article
      • Everything You Need To Know About Relational Databases, SQL, PostgreSQL and Sequelize To Build…
      • Machine Learner
      • Here’s the expanded list:
      • The Complete JavaScript Reference Guide
      • This is really cool!
      • Web Development Interview Part 3💻
      • Mutability And Reference VS Privative Types in JavaScript
      • React
      • Super Simple Intro To HTML
      • Introduction to React for Complete Beginners
      • Web Developer Resource List Part 2
      • Front End Interview Questions Part 2
      • A List Of Tools For Improvement
      • Github Repositories That Will Teach You How To Code For Free!
      • Libraries
      • Machine Learner
      • Here’s the expanded list:
      • The Complete JavaScript Reference Guide
  • 🖲️AI
    • Pytorch
      • Documentation
  • 🎙️Audio
    • Audio
  • Cheatsheets
    • Page 17
    • Page 16
Powered by GitBook
On this page
  • jQuery Examples
  • jQuery Basic
  • jQuery Selectors
  • jQuery Events
  • jQuery Show and Hide Effects
  • jQuery Fading Effects
  • jQuery Sliding Effects
  • jQuery Animation Effects
  • jQuery Chaining
  • jQuery Callback
  • jQuery Get & Set Contents
  • jQuery Insert Content
  • jQuery Remove Elements & Attribute
  • jQuery Add and Remove CSS Classes
  • jQuery Get and Set CSS Properties
  • jQuery Dimensions
  • jQuery Traversing
  • jQuery Filtering
  • jQuery Ajax
  • jQuery No-Conflict Mode
  1. Web Development Frameworks & Libraries
  2. Jquery

Prac

jQuery Examples

This section contains a whole bunch of examples demonstrating the various jQuery features and effects in real action.

jQuery Basic

  • Including jQuery in HTML document

  • Display "Hello World" message using jQuery

  • Standard syntax of jQuery

  • Shorthand syntax of jQuery

  • Change text color of the elements using jQuery

  • Change text contents of the elements on button click using jQuery

jQuery Selectors

  • Selecting an element by ID in jQuery

  • Selecting elements by class name in jQuery

  • Selecting elements by element name in jQuery

  • Selecting elements by attribute in jQuery

  • Selecting elements by compound CSS selector in jQuery

  • Selecting elements by jQuery custom selector

jQuery Events

  • Run code on document ready event in jQuery

  • Run code on click event in jQuery

  • Run code on double-click event in jQuery

  • Run code on hover event in jQuery

  • Run code on mouseenter event in jQuery

  • Run code on mouseleave event in jQuery

  • Run code on keypress event in jQuery

  • Run code on keydown event in jQuery

  • Run code on keyup event in jQuery

  • Run code on change event in jQuery

  • Run code on focus event in jQuery

  • Run code on blur event in jQuery

  • Run code on submit event in jQuery

  • Run code on resize event in jQuery

  • Run code on scroll event in jQuery

jQuery Show and Hide Effects

  • Creating a simple show hide effect in jQuery

  • Creating animated show hide effect in jQuery

  • Creating simple toggle effect in jQuery

  • Creating animated toggle effect in jQuery

jQuery Fading Effects

  • Creating fade-in and fade-out effect in jQuery

  • Setting the duration of fading effect in jQuery

  • Creating fade toggle effect in jQuery

  • Setting the duration of fade toggle effect in jQuery

  • Fading elements to a certain opacity in jQuery

jQuery Sliding Effects

  • Creating slide-up and slide-down effect in jQuery

  • Setting the duration of sliding effect in jQuery

  • Creating slide toggle effect in jQuery

  • Setting the duration of slide toggle effect in jQuery

jQuery Animation Effects

  • Creating animation effect in jQuery

  • Animate multiple CSS properties in jQuery

  • Animate multiple CSS properties only by one in jQuery

  • Animate CSS property using relative values in jQuery

  • Animate CSS property with predefined values in jQuery

jQuery Chaining

  • Method chaining in jQuery

  • Breaking method chaining code in multiple line in jQuery

  • Exceptions method chaining in jQuery

jQuery Callback

  • jQuery effect method without a callback function

  • jQuery effect method with a callback function

  • Executing callback multiple times in jQuery

jQuery Get & Set Contents

  • jQuery get text contents of the elements

  • jQuery set text contents of the elements

  • jQuery get HTML contents of the elements

  • jQuery set HTML contents of the elements

  • jQuery get value an attribute of an element

  • jQuery set an attribute for the elements

  • jQuery set multiple attributes for the elements

  • jQuery get the value of a form element

  • jQuery set the values of the form elements

jQuery Insert Content

  • jQuery insert HTML at the end of the elements

  • jQuery insert HTML at the beginning of the elements

  • jQuery multiple HTML elements at the beginning or end of the elements

  • jQuery insert HTML before and after the elements

  • jQuery insert multiple HTML elements before and after the elements

  • jQuery wrap HTML around the elements

jQuery Remove Elements & Attribute

  • jQuery remove the contents of the elements

  • jQuery remove the HTML elements from the page

  • jQuery remove the parent element of an HTML element from the page

  • jQuery remove an attribute from the HTML elements

jQuery Add and Remove CSS Classes

  • jQuery add a CSS class to the HTML elements

  • jQuery add multiple CSS classes to the HTML elements

  • jQuery remove CSS classes from the HTML elements

  • jQuery remove all the CSS classes from the HTML elements at once

  • jQuery toggle the CSS classes of the HTML elements

jQuery Get and Set CSS Properties

  • jQuery get the value of a CSS property of an element

  • jQuery set the value of a CSS property for the elements

  • jQuery set the value of multiple CSS properties of the elements

jQuery Dimensions

  • jQuery get width and height of an element

  • jQuery set width and height of the elements

  • jQuery get inner width and height of an element

  • jQuery set inner width and height of the elements

  • jQuery get outer width and height of an element

  • jQuery get outer width and height of an element including margin area

  • jQuery set outer width and height of the elements

jQuery Traversing

  • jQuery select the direct parent element of an element

  • jQuery select all the ancestor elements of an element

  • jQuery select the specific ancestor elements of an element

  • jQuery select all the ancestor elements between two elements

  • jQuery select the direct children element of an element

  • jQuery select the specific descendant elements of an element

  • jQuery select all the descendant elements of an element

  • jQuery select all the sibling elements of an element

  • jQuery select specific sibling elements of an element

  • jQuery select the next sibling element of an element

  • jQuery select all the next sibling elements of an element

  • jQuery select all the following sibling elements between two elements

  • jQuery select the previous sibling element of an element

  • jQuery select all the previous sibling elements of an element

  • jQuery select all the preceding sibling elements between two elements

jQuery Filtering

  • jQuery select the first element only

  • jQuery select the last element only

  • jQuery select an element by index

  • jQuery select an element by negative index

  • jQuery filter the selection of elements via selectors

  • jQuery filter the selection of elements through a custom function

  • jQuery select the elements that has specific child elements

  • jQuery select the elements that does not match certain condition

  • jQuery select the elements that did not pass certain function test

  • jQuery select the elements by range of indices

  • jQuery select the elements by range of negative indices

jQuery Ajax

  • jQuery load content inside an element from a file

  • jQuery execute code based upon load request response

  • jQuery load content of selected element from a file

  • jQuery make ajax request using HTTP get method

  • jQuery send data with ajax using HTTP get method

  • jQuery submit form data with ajax using HTTP post method

jQuery No-Conflict Mode

  • Putting the jQuery into no-conflict mode

  • Prevent conflict between jQuery and other JavaScript libraries

  • Avoid conflict when including the jQuery before other JavaScript libraries

PreviousJqueryNextGATSBY

Last updated 3 years ago