.hide() is similar to CSS property display:none {Also, I just saw xiaocui included that in his example.
In the second example you can use ‘hidden’ as the value if you don’t want your layout to be affected.
if(type=="money")
{
\\hide some elements..
}
Check condition in jQuery hide
if (type == "money") {
$('#target1').hide(); //or
$('#target1).css('display', 'none');
}