BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

jQuery toggleClass() Method

By Chaitanya Singh | Filed Under: jQuery

The jQuery toggleClass() method alternates between adding and removing specified classes from selected elements. For example, if a paragraph (p element) has class “highlight” then… [Read More]

jQuery removeClass() Method

By Chaitanya Singh | Filed Under: jQuery

The jQuery removeClass() method is used to remove one or more classes from the selected elements. It works just opposite to the addClass() method which… [Read More]

jQuery hasClass() Method

By Chaitanya Singh | Filed Under: jQuery

In this tutorial, you will learn how to use jQuery hasClass() method. This method checks if a specified class assigned to the specified element. Syntax… [Read More]

jQuery addClass() method

By Chaitanya Singh | Filed Under: jQuery

The jQuery addClass() method is used to add the class names to the selected elements. This is especially useful when you want to add styles… [Read More]

jQuery Tutorial for beginners | Learn jQuery

By Chaitanya Singh | Filed Under: jQuery

I have written several tutorials on jQuery starting from the basics to the advanced levels. I have consolidated all the tutorials and prepared a list… [Read More]

jQuery html() method

By Chaitanya Singh | Filed Under: jQuery

jQuery html() method is used to set or return the content of the selected elements. When html() method is used to set the content of… [Read More]

jQuery scroll() Method

By Chaitanya Singh | Filed Under: jQuery

jQuery scroll event occurs when the user scrolls in the specified element. jQuery scroll() Method attaches an html element to the event handler function and… [Read More]

jQuery resize() Method

By Chaitanya Singh | Filed Under: jQuery

The resize event occurs when the size of the browser window is changed. jQuery resize() Method attaches window element to an event handler function and… [Read More]

jQuery keyup() Method

By Chaitanya Singh | Filed Under: jQuery

jQuery keyup() Method triggers the keyup event when any button on the keyboard is released. This method attaches an html element to event handler function,… [Read More]

jQuery keydown() Method

By Chaitanya Singh | Filed Under: jQuery

jQuery keydown() Method triggers the keydown event when any button on the keyboard is pressed down. Unlike keypress() Method which doesn’t consider keys such as… [Read More]

jQuery keypress() Method

By Chaitanya Singh | Filed Under: jQuery

jQuery keypress() Method triggers the keypress event when any button on the keyboard is pressed down. This method doesn’t consider keys such as ALT, CTRL,… [Read More]

jQuery change() Method

By Chaitanya Singh | Filed Under: jQuery

jQuery change() Method triggers the change event, when the value of an html element has been changed. The elements covered by this method are <input>,… [Read More]

jQuery submit() Method

By Chaitanya Singh | Filed Under: jQuery

jQuery submit() Method triggers the submit event when the form is submitted. The submit() method attaches an event handler function to the “form”, this event… [Read More]

jQuery blur() method

By Chaitanya Singh | Filed Under: jQuery

jQuery blur() method attaches an event handler function to html elements. This event handler function executes when a form field loses focus. This method works… [Read More]

jQuery focus() method

By Chaitanya Singh | Filed Under: jQuery

jQuery focus() method attaches an event handler function to html elements. This event handler function executes when a form field gets focus. jQuery focus() method… [Read More]

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • Next Page »

Copyright © 2012 – 2023 BeginnersBook . Privacy Policy . Sitemap