1
我有下面的代碼,但fadeIn和fadeOut太快,我幾乎看不到它。爲什麼?fadeIn問題在jquery
$('#post_code_error').html('You Post Code is Out of Range').addClass('post_code_error').show().fadeIn('10000');
<div id="post_code_error"></div>
div#post_code_error {
display:none;
position:absolute;
top:300px;
right:100px;
}
.post_code_error {
width:100px;
height:10px;
border:1px solid #F00;
background-color: #FFC;
color:#F60;
}