Following is the form with id msform that I want to apply style=\"display:none\" attribute to.
msform
Except hide() mentioned in other answers, you can use css():
hide()
css()
$("#msform").css("display","none")