Selecting Elements in jQuery (jQuery Selectors)

6 years ago

To collect a group of elements, we pass the selector to the jQuery function using the simple syntax [crayon-67a5b5e91ab5b594328096/] The…

jQuery library Introduction

jQuery is a lightweight, "write less, do more", JavaScript library. The purpose of jQuery is to make it much easier…

6 years ago

Adjust li width fit with ul width of the outer div/body

HTML:- [crayon-67a5b5e91b050321604190/] CSS:- [crayon-67a5b5e91b054103902521/] JavaScript:- [crayon-67a5b5e91b056316021360/]  

6 years ago

Customize Input Box using jQuery

Prevent users typing special characters in text box, textarea, etc. [crayon-67a5b5e91b293316488348/] ^[a-zA-Z]+$ Alphabets ^[a-zA-Z\s]+$ Alphabets + Space Example:-

6 years ago

JavaScript simple form validation with example

Any interactive web site has form input - a place where the users input different kind of information. This data…

6 years ago

Clear the browser cache of CSS or JavaScript Using Javascript

[crayon-67a5b5e91b68c963600208/]  

6 years ago

Simple Ajax Call

[crayon-67a5b5e91b727003795660/]  

6 years ago

Bootstrap Button Loading

[crayon-67a5b5e91b7ba938270807/] [crayon-67a5b5e91b7bd793887216/]  

6 years ago

How can I disable an option in a select box based on its value in JavaScript?

[crayon-67a5b5e91b91f417460302/] Without enabling non-targeted elements: [crayon-67a5b5e91b926928914590/] jQuery With jQuery you can do this with a single line: [crayon-67a5b5e91b928837685693/] Without enabling…

6 years ago