$(#testObj).html("ok").hide(5000) 这个是渐渐消失 $(#testObj).html("ok").fadeTo(5000,1).hide(); 这个是让他显示5秒(实际就是没有改变透明度),然后隐藏