What is jQuery?
jQuery is a lightweight JavaScript library with the idea “write less, do more”. It gives short methods for the common work of a web page: selecting and changing elements, handling events, animations, and Ajax. It works the same in all browsers.
<p id="msg">Hello</p>
$('#msg').text('Hello jQuery').css('color', 'red');
HTML after the code runs
<p id="msg" style="color: red;">Hello jQuery</p>
See jQuery Introduction.
Learn more about the similar topics:
| Tutorials |
|---|
| No Content Found. |
| Exercises & Assignments |
|---|
| No Content Found. |
| Interview Questions & Answers |
|---|
| No Content Found. |