How to set “style=display:none;” using jQuery's attr method?

后端 未结 8 1649
闹比i
闹比i 2020-12-24 12:04

Following is the form with id msform that I want to apply style=\"display:none\" attribute to.

8条回答
  •  别那么骄傲
    2020-12-24 13:02

    You can use the hide and show functions of jquery. Examples

    In your case just set $('#msform').hide() or $('#msform').show()

提交回复
热议问题