jQuery conflict when removing div after page load

后端 未结 8 514
北海茫月
北海茫月 2021-01-13 07:07

I\'m trying to remove a div from the page (preferably prevent it from loading at all) but for now I\'m settling on removing it after the page loads.

When I try the f

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-13 08:03

    Try with this

    
    

    or

    $(function()
    {
            $('#content').remove();
    });
    

提交回复
热议问题