jquery 显示标签里的内容,并让内容停留2秒钟再做其他判断
$("#pIsSuccess").addClass("green").html("√ 评价成功 ~").show(2000);这样行么 --------------------编程问答-------------------- 停留两秒你得用setTimeout
.show(2000) 只是加了个下拉动画效果 --------------------编程问答--------------------
<html>
<head>
<script type="text/javascript">
function timedMsg()
{
var t=setTimeout("alert('5 seconds!')",5000)
}
</script>
</head>
<body>
<form>
<input type="button" value="Display timed alertbox!"
onClick="timedMsg()">
</form>
<p>Click on the button above. An alert box will be
displayed after 5 seconds.</p>
</body>
</html>
补充:.NET技术 , ASP.NET