javascript hide html display none code example
Example: hide a div
Hide/show this div
('#main').hide(); //to hide
// 2nd way, by injecting css using jquery
$("#main").css("display", "none");
Hide/show this div
('#main').hide(); //to hide
// 2nd way, by injecting css using jquery
$("#main").css("display", "none");