0
jaydeep posted
$("#id") in jQuery to pure JavaScript ?
what are the other alternative of element selection at html Dom in JavaScript except $("#id") or $(".class")i know that i can use id and class in jQuery to select by $("#id") or $(".classname") and make it operation on it like show or hide or change css etc.. but i want do it in pure JavaScript
why i am not using the jQuery . its only because i just need selector for hide a div for onload nothing more so its not good to use for just jQuery . it can be done also in pure JavaScript