Advertisement
728x90
jQuery is a popular cross-browser JavaScript library that provides Document Object Model (DOM) traversal, event handling, animations and AJAX interactions by minimizing the discrepancies across browsers. It is widely famous with its philosophy of “Write less, do more”. For example, you can display welcome message on the page load using jQuery as below,
javascript
1$(document).ready(function () {
2 // It selects the document and apply the function on page load
3 alert("Welcome to jQuery world");
4 });Note: You can download it from jquery's official site or install it from CDNs, like google.
Advertisement
Responsive Ad
🎯 Practice NowRelated Challenge
JavaScript Coding Exercise 41
Test your knowledge with this interactive coding challenge.
Start CodingAdvertisement
728x90
297of476