jQuery Articles

Page 21 of 42

Flipping Window Effect

Yaswanth Varma
Yaswanth Varma
Updated on 19-Jan-2024 209 Views

The "flipping window" effect, also called the "window rotation" effect, is a visual occurrence that takes place when an object or scene is seen via a number of spinning windows or panels. To give viewers an immersive and engaging experience, the flipping window effect is frequently employed in interactive displays, digital animations, and art installations. Let’s dive into the article to draw a flipping window effect. It can be done by using CSS @keyframes. Let’s have a quick look at it before we jump into the article. CSS @keyframes Keyframes are used for animation in CSS. It provides you more ...

Read More

How slideDown() function works in jQuery event handler?

Yaswanth Varma
Yaswanth Varma
Updated on 19-Jan-2024 195 Views

The JavaScript library "jQuery" is regarded as the most effective lightweight JavaScript library. Based on the built-in methods, it encapsulates several lines of JavaScript code to carry out a given functionality. A single line of code can easily be used to call these methods. While doing the necessary operation, it shortens the code. The sliding effect is one of the more useful animation-designing methods among the many Effect-creating techniques that are available with jQuery. Let’s dive into the article to learn about the slideDown()function in jQuery. slideDown() in jQuery A sliding effect can be produced with the slideDown() method ...

Read More

How to add a new class to an element that already has a class using jQuery?

Yaswanth Varma
Yaswanth Varma
Updated on 19-Jan-2024 209 Views

jQuery is a well-known JavaScript library that makes it easier to manipulate HTML elements, handle events, and carry out numerous operations on web pages. Adding or changing HTML element classes can also be done using jQuery. Using it, we can easily add a new class to an element that already has one or more classes. This enables you to combine many styles or actions on a single element without deleting any already-existing classes. Let’s dive into the article to learn about adding a new class to an element that already has a class. This can be done by using the ...

Read More

How to add a list elements within an unordered list element using jQuery?

Yaswanth Varma
Yaswanth Varma
Updated on 19-Jan-2024 629 Views

A well-known JavaScript library called jQuery makes interacting with HTML documents and carrying out different operations on web sites making it more effective. Let’s dive into the article to add list elements to an unordered list. Unordered lists are frequently employed to provide a group of items in a bulleted order. Using jQuery, you may quickly add new list items to an unordered list for any purpose, such as a navigation menu or to-do list. This can be done by using the jQuery append() method. jQuery append() method jQuery's append() method enables you to add stuff, such HTML elements or ...

Read More

Difference between prop() and attr() methods in jQuery

Yaswanth Varma
Yaswanth Varma
Updated on 19-Jan-2024 1K+ Views

The prop() and attr() methods in jQuery are both used to change the attributes and properties of HTML elements, but they accomplish slightly different tasks. Although they are sometimes used interchangeably, knowing how they vary might help you decide which approach is best for your particular use case. Let’s dive into the article to learn more about the differences between the prop() and attr() methods in jQuery. jQuery prop() method Prop() is a jQuery method that is used to set or return properties and values for the selected elements. When this method is used to get a property value, it ...

Read More

How to add a class to the last paragraph element using jQuery?

Yaswanth Varma
Yaswanth Varma
Updated on 19-Jan-2024 184 Views

jQuery is a well-known JavaScript library that makes it easier to manipulate HTML elements, handle events, and carry out numerous operations on web pages. Adding or changing HTML element classes can also be done using jQuery. Using it, we can easily add a new class to the last paragraph element. Let’s dive into the article to learn more about adding a class to the last paragraph element using JQuery. This can be done by using the addclass() method and append() methods. Let’s discuss them one by one. jQuery addclass() method One or more class names are added to the ...

Read More

How to make basic menu using jQuery UI?

Adeeba Khan
Adeeba Khan
Updated on 22-Nov-2023 350 Views

Many websites as well as applications must have menus because they offer a simple and orderly way to navigate between different pages and functionalities. While there are numerous approaches to building menus utilizing HTML, CSS, as well as JavaScript, jQuery UI offers a simple intuitive technology that can help you save time and effort. The fundamentals of building a menu using jQuery UI will be covered in this post, along with the necessary stages and starter samples. This article will give you the resources you need, whether you're an experienced developer or a novice, to make a useful and appealing ...

Read More

How to make Auto-filling Forms with jQuery and Web Storage API?

Adeeba Khan
Adeeba Khan
Updated on 22-Nov-2023 266 Views

By automatically filling in common fields like name, email, and address, autofill forms have grown in popularity as a feature on websites and mobile applications. When developing autofill forms, developers have two options: either utilize locally stored fixed data or use dynamic data that is periodically updated based on user inputs. The Web Storage API is one of the most important resources available to developers for local data storage. It offers techniques for browsers to store key/value pairs in a more natural way than with cookies. SessionStorage and localStorage are the two Web Storage techniques; while sessionStorage only keeps data for ...

Read More

Hidden Bootstrap class

Anvi Jain
Anvi Jain
Updated on 21-Nov-2023 2K+ Views

To hide a Bootstrap class, use the .hidden class. Example You can try to run the following code to hide a class −           Bootstrap Example                                                           This class is visible.                                 This is an example for hide class. This will be hidden.                  

Read More

How to sort a list alphabetically using jQuery?

Abhishek
Abhishek
Updated on 21-Nov-2023 921 Views

jQuery is a JavaScript library that works on the principle of write less, do more. In jQuery, the syntaxes that are longer and take more time to write are reduced, and alternate methods are introduced to use them in short form. In this article, we are going to learn about the method of sorting a list in alphabetical order using jQuery. Let us discuss some common methods of jQuery which we will use in the code example to sort the list in alphabetical order. text() method − The text method is used to get and set the text of ...

Read More
Showing 201–210 of 413 articles
« Prev 1 19 20 21 22 23 42 Next »
Advertisements