document.getElementById("elementId").style.display="none"
used in JavaScript to hide an element. But in jQuery
$("#elementId").hide();
used for the same purpose. Which method is more effective? I saw a comparison of the two jQuery functions .hide() and .css("display","none") here .
But my problem is, is pure JavaScript more efficient than jQuery?
performance javascript jquery css
Maninda Dec 03 2018-12-12T00: 00Z
source share