Year End Sale: Get Upto 40% OFF on Live Training! Offer Ending in
D
H
M
S
Get Now
Introduction to JQuery

Introduction to JQuery

13 Feb 2024
Beginner
23.5K Views
2 min read

JQuery is a cross-browser JavaScript library that is developed to simplify the client-side scripting of HTML. It was released in January 2006 at BarCamp NYC by John Resig. JQuery is free, easy to use and open source scripting language. JQuery's syntax is easy. Using JQuery we can select DOM elements, create animations, handle different types of JQuery events, and develop ajax based applications.

JQuery also provides facilities for developers to create own plugins on top of the JavaScript library. Using these capabilities, developers are able to create high level interaction and animation, advanced effects, theme-able widgets. This contributes to the formation of interactive and dynamic web pages.

Features of JQuery

JQuery is awesome scripting library. I am using it from one year and I am very much impressed to Jquery. I like it and find myself much comfortable to work with it. There are following features of JQuery :

  1. DOM traversal and modification (including support for CSS 1-3).

  2. HTML element selections.

  3. HTML element manipulation.

  4. CSS manipulation.

  5. Effects and animations.

  6. Extensibility through plug-ins.

  7. Ajax and Events

  8. Utilities - such as browser version and the each function.

Read More - jQuery Interview Questions for Freshers

Where to put our scripts?

  1. Between the HTML document head tags.

  2. Within the HTML document body (i.e. between the body tags).

  3. In an external file (and link to it from your HTML document).

First JQuery Program

<html>
<head>
<script type="text/javascript" src="jquery.js">/script>
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function(){
$("p").hide();
});
});
</script>
</head>
<body>
<h2>Welcome To JQuery World !!</h2>
<p>This is a JQuery paragraph.</p>
<p>This is another JQuery paragraph.</p>
<button type="button">Click me</button>
</body>
</html> 

Note

  1. Both Google and Microsoft provides good support for jQuery. If you do not want to store the jQuery library on your website or own computer, you can load the CDN jQuery core file from Google or Microsoft. You can download the latest version of JQuery using following links.

  2. You can download JQuery 1.7 version cheat sheet from here

Share Article
About Author
Shailendra Chauhan (Microsoft MVP, Founder & CEO at Scholarhat by DotNetTricks)

Shailendra Chauhan, Founder and CEO of ScholarHat by DotNetTricks, is a renowned expert in System Design, Software Architecture, Azure Cloud, .NET, Angular, React, Node.js, Microservices, DevOps, and Cross-Platform Mobile App Development. His skill set extends into emerging fields like Data Science, Python, Azure AI/ML, and Generative AI, making him a well-rounded expert who bridges traditional development frameworks with cutting-edge advancements. Recognized as a Microsoft Most Valuable Professional (MVP) for an impressive 9 consecutive years (2016–2024), he has consistently demonstrated excellence in delivering impactful solutions and inspiring learners.

Shailendra’s unique, hands-on training programs and bestselling books have empowered thousands of professionals to excel in their careers and crack tough interviews. A visionary leader, he continues to revolutionize technology education with his innovative approach.
Accept cookies & close this