我想在加载body时显示我的div(包装器).这是我的代码:
$("div.wrapper").hide();
$('body').load(function() {
$('.wrapper').show();
});
最佳答案@H_502_10@
描述
.ready() Specify a function to execute when the DOM is fully loaded.
因此,使用css使div不可见,并使用jQuery使其可见.
样品
HTML