div#network-register需要使用类reg-success-notification将其内容替换为新的div。 div内容刷新,但新内容不显示或加载。JQuery 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...
}
什么是那'}'的作用 “REG-成功通知” CSS?你可以在http://jsfiddle.net上提供演示吗? – undefined
什么是reg-success-notification css? – user10
1.你在使用这个代码文件ready()/ onload 2.“reg-success-notification”为这个类定义的css –