How to hide a div using javascript

后端 未结 6 1097
感动是毒
感动是毒 2021-01-26 05:04

I want to hide a div using Javascript. Below is my div.

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-26 05:29

    you can use you own code as:

    $(document).ready(function(){
        $(".ui-dialog-titlebar").css('display','none');
    

    or $(".ui-dialog-titlebar").hide(); });

    because before doing all there document should be ready.

提交回复
热议问题