div #network-register 需要将其内容替换为具有类 reg-success-notification 的新 div。div 内容刷新,但新内容不显示或加载。
$('#network-register').html('<div class="reg-success-notification"><p>Your account has been successfully created. You will be logged in within 5 seconds.</p></div>').fadeIn(1000);
}
I found the issue was due to `"display: none"` in the CSS code of the div's class.
CSS Code
div.reg-success-notification {
display:none
...more rules...
}