有人可以告诉我我做错了:
样式:
.warning{border: 1px solid #F0AAAA; background:#FFBABA; color: #C90000;}
标记:
<p class="warning">A successful authorization already exists. Further authorizations are not allowed at this time.</p>
脚本:
$().ready(function () { alert($(".warning").html()); // WORKS $(".warning").fadeIn(4000); // DOESN'T WORK });