Posts for jquery

Deven
Deven wrote

How to use disable click event in jQuery

In this article, you will learn about how to use disable click events in jQuery. jQuery is a lightweight and feature-rich JavaScript library. You can do a lot more things and bring interactivity to your webpage. The purpose of jQuery is to write less and do more. That means you can do a lot more […]

January 15, 2022 in Code examples & Jquery
Deven
Deven wrote

How to uppercase a text by using jQuery

In this article, you are going to learn about how to uppercase a text by using jQuery. jQuery is a lightweight and feature-rich JavaScript library. The purpose of jQuery is to write less and do more. That means you can do a lot more things by writing less code. In jQuery, you can convert a […]

January 15, 2022 in Code examples & Jquery
Deven
Deven wrote

Jquery Select all checkbox example

A checkbox is an HTML input that lets a user select one or more options of a limited number of choices. Checkboxes are defined using <input type=”checkbox”>. Sometimes we need to automatically check/uncheck all checkboxes when a single checkbox is checked / unchecked. For eg: A list of 5 items inside a combo, the user can […]

October 19, 2021 in Code examples
Deven
Deven wrote

Fix – uncaught typeerror: $(…).select2 is not a function

If you are getting uncaught typeerror: $(…).select2 is not a function error, this article will help you fix the issue. Consider the example below: we usually get this error when Jquery is loaded twice, To see if jQuery is loaded properly, type $ in the browser console to see if it returns the appropriate code. […]

February 26, 2021 in Errors solved

How to Create a Lightbox using Bootstrap

A lightbox is a script used to overlay images and videos on a page and dim out the rest of the page content. This tutorial shows how this can be achieved using a bootstrap library called ekkolightbox. Setup First, we import bootstrap CSS and JavaScript files. Since bootstrap requires jQuery, we’ll import that as well. […]

January 12, 2020 in Bootstrap & Code examples