What is jQuery?
jQuery is “write less, do more” open source Javascript library.
Specialized for changing web page documents on the fly.
jQuery makes it easy to add action and interactivity to any web page.
jQuery makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
jQuery is the core library. jQueryUI is built on top of it. If you use jQueryUI, you must also include jQuery.
Importance of jQuery?
Open Source.
jQuery is SEO friendly and CSS3 compliant.
Browser Compatibility i.e.; Works for all browsers.
jQuery is very small, clean code that won’t bog down the loading time of web pages
Highly Documented.There’s a low learning curve. Since it’s based on plain old JavaScript, developers can learn jQuery fast.
Web page elements display even if JavaScript is disabled in the browser.
Simplifies AJAX.
It is extensible – jQuery can be extended to implement customized behavior.
History of jQuery
Developed by John Resig.
Initial Release – 2006
Current Version – 3.1.1
Main site: https://jquery.com/
Basic Structure of jQery
<script type = “text/javascript”>
//jQuery detects this state of readiness for you.
$( document ).ready() method will only run once the page Document Object Model (DOM) is ready for JavaScript code to execute.
$(document).ready(function(){
document.write(“Hello, World!”);// to print a string we will use document.write(); method
});
</script>
File Extension of jQuery
filename.js
Comment Line in jQuery
Single line comment is done using //
Multi- line comment start with /* and end with */.
Variable Declaration
In jQuery, you can declare variable in two styles.
- $.name = “value”;
2. var variable_name = “value”;
One94Store Rechargeable Silicone Panda Night Light for Kids | 7-Color LED Changing Lamp |Adorable Room Decor & Gift for Toddlers, Teens, & Valentine's Day Present|Soft BPA-Free Nightlight| Multicolour
₹370.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)StuffNest Baby Soft Hugging Neck Supporting Pillow for Head Shaping (0-12 Month), Sleeping, Gift for Babies (Sky-Blue)
₹329.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Mee Mee Baby Liquid Cleanser 500ml, Anti-Bacterial Kills 99.9% Germs | Cleanser for Bottles, Nipples, Accessories, Toys, Fruits & Vegetables | No Alcohol, One Drop Cleaning, Dermatologically Tested
₹199.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)MamyPoko Pants Extra Absorb Baby Diapers, Large (L size) | 9-14 kg | 64 Count |Deep Sleep Diapers| Soft gentle fit |Deep Absorbent Crisscross | skin friendly with coconut oil |
₹906.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Huggies Complete Comfort Wonder Pants | Pant Style Baby Diapers XL Size, 56 Count | India's Fastest Absorbing Diaper, Patented Dry Xpert Channel, Ideal for 12 to 17 Kgs
₹717.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Mini Wonders Inflatable Water Play Mat, Baby Tummy Time Mat, Safe BPA-Free, 0-12 Months
₹179.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)StarAndDaisy Foldable 10-Shelf Storage Rack/Multi-Layer Organizer for Books, Toys, Clothes, Shoes/Space-Saving, Sturdy Cabinet for Home & Office (Elegance)
₹1,498.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)LuvLap Glory Hands-Free Electric Breast Pump for Breastfeeding, Wearable, Portable, 4 Modes & 9 Suction Levels, Type-C Fast Charging, 24mm Breast Shield, Includes 19/21/27mm Soft Flange Inserts, White
₹4,404.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)VIZARO Baby Teether Silicone Ball Toy for 6-12 Months Babies, Multiple Sensory Teething Ball, Infant Rattles Developmental Toys Gifts for 1 2 Year Old Boys Girls, teether Toys for Babies, Toddlers
₹399.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)R for Rabbit Protector Plus Door Stopper for Kids | Safety Certified | Prevents Finger Pinching | 180° Rotating | Strong 3M Adhesive | Scratch-Free | Baby Proofing Lock (1 Pc)
₹191.00 (as of July 6, 2025 20:53 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)ZEBRONICS Zeb-Jaguar Wireless Mouse, 2.4GHz with USB Nano Receiver, High Precision Optical Tracking, 4 Buttons, Plug & Play, Ambidextrous, for PC/Mac/Laptop (Black+Grey)
₹299.00 (as of July 6, 2025 09:01 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)TP-Link AC750 Wifi Range Extender | Up to 750Mbps | Dual Band WiFi Extender, Repeater, Wifi Signal Booster, Access Point| Easy Set-Up | Extends Wifi to Smart Home & Alexa Devices (RE200)
₹2,399.00 (as of July 6, 2025 09:01 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)STRIFF Mpad Mouse Mat 230X190X3mm Gaming Mouse Pad, Non-Slip Rubber Base, Waterproof Surface, Premium-Textured, Compatible with Laser and Optical Mice(Universe Black)
Now retrieving the price.
(as of July 6, 2025 09:01 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)