jQuery is the MUST HAVE tool for web developers. There are 3 good reasons why you should use jQuery.
- Cross Browsers (Edge, Firefox, Safari, Opera, Chrome)
-
Powerful and easy to use
- Same selectos as CSS
- Designer can learn it fast
- More readable JavaScript code
- Plugins - Tons of useful plugins and functionalities
window.onload = function() { alert("Welcome"); }
Figure: Bad example - Using JavaScript 'onload' event
$(document).ready(function() { alert("Welcome!"); });
Figure: Good example - Using jQuery document 'ready' event
Love it
0
Agree
0
Disagree
0
No way
0