SyntaxFix
Write A Post
Hire A Developer
Questions
JQuery 10.1.2 has a nice show and hide functions that encapsulate the behavior you are talking about. This would save you having to write a new function or keep track of css classes.
$("new").show(); $("new").hide();
w3cSchool link to JQuery show and hide