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