Found 766 Articles for JQuery

How to disable a jQuery-ui draggable of widget?

Dishebh Bhayana
Updated on 02-Aug-2023 13:11:11

198 Views

We can disable a jQuery UI draggable widget with the help of its draggable disabled option. jQuery is a javascript library that helps us manipulate the DOM easily and efficiently using its various helper methods and properties. It allows us to add interactivity to the DOM as well as add and change the CSS styles of the DOM elements. Syntax $(element).draggable({ disabled: true }) We will be using the following jQuery link in our application − The above-provided code snippet is a link tag that imports the CSS file from the jQuery UI library. Example ... Read More

How to print a page using jQuery?

Mohit Panchasara
Updated on 26-Jul-2023 12:35:20

2K+ Views

Allowing users to print the web page can be a great feature in many scenarios. For example, users can print the invoice, the whole article if they are on the web page containing the blog, some important data, etc. The JQuery contains the print() method allowing us to print the HTML content of the web page by adding it into the pdf format. It opens the print pop-up, and when the user clicks the print button, it starts printing the page if the printer is connected. Otherwise, it saves the data in the local computer in the pdf file format. ... Read More

How to perform jQuery Callback after submitting the form?

Mohit Panchasara
Updated on 26-Jul-2023 11:40:03

924 Views

Nowadays, every website contains at least a single form, such as a contact form, application form, etc. It is also required to notify users when the form is submitted successfully or with errors so that users can take action again. In JQuery, we can use the submit() method to call the callback function after submitting the form. However, we can also save form data to the database in the callback functions. So, there can be many use cases where we must call the callback function after submitting the form to perform the particular operations. Syntax Users can follow the syntax ... Read More

How to Check a String Starts/Ends with a Specific String in jQuery?

Ayushya Saxena
Updated on 19-Jul-2023 14:49:09

287 Views

JavaScript relationships with the HTML/CSS file, particularly with the Document Object Model (DOM), are made easier through an open-source library called "jQuery". Its traversal and manipulation of HTML files, the control of browser events, the production of DOM visuals, the facilitation of Ajax connections, and cross-platform JavaScript programming are all made easier by this package. To verify whether a particular string constitutes a substring of another string, JavaScript provides a variety of string functions. Consequently, jQuery is dispensable to accomplish this task. Nonetheless, we shall expound on the various approaches to verify if a string commences or terminates ... Read More

How to search JSON tree with the help of jQuery?

Rohan Singh
Updated on 18-Jul-2023 18:08:21

464 Views

JSON (JavaScript Object Notation) is a data format that is widely used when transmitting data between the server and a web application. In many cases, the JSON data has a complex structure, and searching for specific data requires some special function implementation. jQuery, a popular JavaScript library, provides powerful methods to navigate and search JSON trees efficiently using the .each() method, filter(), and grep methods. In this article, we will explore all these methods to search JSON trees with the help of jQuery. Understanding JSON Trees JSON data is organized in a hierarchical structure, often referred to as a JSON ... Read More

Live Search Using Flask And jQuery

Siva Sai
Updated on 18-Jul-2023 18:26:15

548 Views

Introduction The combination of Flask and jQuery gives a reliable solution for developing dynamic web apps. While jQuery is a quick, compact, and feature-rich JavaScript library, Flask is a well-known, lightweight web framework for Python. For the purpose of creating a live search feature in a Flask application, we will combine the strengths of these two technologies in this tutorial. Prerequisites Ensure that you have the following installed on your local computer before beginning the tutorial's main sections: Python Flask − Install it via pip with pip install flask jQuery − Download it from the official website or use a CDN. Setup ... Read More

How to select ID that starts with certain character using jQuery ?

Rohan Singh
Updated on 17-Jul-2023 18:59:47

340 Views

jQuery is a popular JavaScript library that simplifies the process of traversing and manipulating HTML documents. In web development, one common requirement is to select elements with specific attributes or properties. In this article, we will explore how to select HTML elements whose IDs start with a certain character using jQuery. Use of Selecting ID that starts with certain character Targeting Specific Groups of Elements: When working with a large number of elements, it may be necessary to group them based on a common identifier. By selecting IDs that start with a specific character, you can easily target and ... Read More

How to Write a Mobile-Friendly App Using JQuery & Bootstrap?

Satish Kumar
Updated on 17-Jul-2023 15:23:28

119 Views

The paradigm shift towards mobile technology has paved the way for a responsive, user-friendly interface in app design. JQuery and Bootstrap are two powerful tools that can aid developers in creating mobile-friendly applications. Let's delve into how you can use these frameworks to create an efficient, responsive application. Prerequisites Before you begin, ensure that you have a basic understanding of HTML, CSS, and JavaScript. Familiarity with JQuery and Bootstrap is advantageous but not compulsory, as we'll go over the basics. Introduction to JQuery & Bootstrap JQuery − A fast, small, and feature-rich JavaScript library, JQuery makes things like HTML document ... Read More

How to design login dialog using jQuery EasyUI Mobile?

Aayush Mohan Sinha
Updated on 13-Jul-2023 17:23:27

156 Views

In the fast-paced world of mobile web development, designing a login dialog that is both aesthetically pleasing and highly functional is essential for engaging users and ensuring the success of a web application. With jQuery EasyUI Mobile, a robust and intuitive JavaScript framework, developers have access to a powerful set of tools for creating dynamic and customizable login dialogs. However, for developers unfamiliar with the framework, the process of designing a login dialog using jQuery EasyUI Mobile may seem daunting. In this article, we will guide developers through the step-by-step process of designing a login dialog using jQuery EasyUI Mobile, ... Read More

How to design lazy loading of images/videos for mobiles using jQuery Plugin?

Aayush Mohan Sinha
Updated on 13-Jul-2023 17:22:58

186 Views

In the present-day world, where mobile devices are dominant, developers are persistently searching for ways to optimize user experience, particularly concerning the loading of hefty media files such as images and videos. One of the remedies to this issue is to implement lazy loading, a technique that procrastinates the loading of non-vital media files until their requirement. With the aid of the jQuery Plugin, developers can effortlessly integrate lazy loading into their mobile web applications, thereby providing an uninterrupted and proficient browsing experience for their users. In this write-up, we shall scrutinize the step-by-step technique to design the lazy loading ... Read More

Previous 1 ... 5 6 7 8 9 ... 77 Next
Advertisements