Mark as Answer if its helpful to you Kumaraspcode2009@gmail.com
divs = document.getelementByTagName('div'); for (i=0;i<divs.length;i++) { divs[i].style.display=none; }
$("div").hide();
$("p") - selects all <p> elements. $("p.intro") - selects all <p> elements with class="intro". $("p#demo") - selects the <p> element with id="demo".
-Somu
Login to post response