Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个红色按钮。当我单击它时,该按钮变为带有渐变的蓝色。
我不明白为什么,因为 IE8 不支持 CSS3 中的渐变,不是吗?这真的很奇怪。按钮没有属性background-image: url()。
background-image: url()
截图: http: //f.cl.ly/items/2h071c370o3J0R3v0435/cap-blue.jpg
我想要一个表单,在提交和验证后会打开一个包含结果的新选项卡。我使用该<h:form target="_blank"方法获取新选项卡,但它在新选项卡中显示验证错误。如果验证通过,我希望它只打开新选项卡。
<h:form target="_blank"
我的猜测是唯一真正的跨浏览器解决方案是在提交时进行一些 SJAX 验证,但我不确定是否有任何库可以