hide div using jquery code example
Example: jquery to 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");