Initially hiding a div for later display

前端 未结 6 994
清歌不尽
清歌不尽 2020-12-29 05:24

My web page is like the following:

TEXT, FORMS, and STUFF
6条回答
  •  被撕碎了的回忆
    2020-12-29 06:23

    Maybe .toggle can help you achieve this?

    $("#btn2").click(function (e) { 
        $("#id1").toggle(); 
        $("#id2").toggle();
        $("#id3").toggle();
    });
    

提交回复
热议问题