jQuery was developed by John Resig in 2006 to address browser incompatibilities and simplify HTML DOM manipulation, event handling, animations, and AJAX.
For over a decade, jQuery was the most widely used JavaScript library. However, since the release of JavaScript Version 5 (2009), many tasks that jQuery handles can now be accomplished with just a few lines of standard JavaScript.
Conceal an HTML element.
myElement.hide(); |
myElement.style.display = “none”; |
Display an HTML element.
myElement.show(); |
myElement.style.display = “”; |
Modify the font size of an HTML element.
$(“#demo”).css(“font-size”,“35px”); |
document.getElementById(“demo”).style.fontSize = “35px”; |