html show and hide text switch code example
Example: javascript 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");