为什么多个背景图片不适用于IE?
|
我有这段代码在Chrome和Firefox上运行良好,但是在IE上仅显示第二个背景图片...您知道为什么吗?
$(\'input[type=button]\').click(function() {
//search for the button
var button = document.getElementsByName(\"contactme\");
//change the image
button[0].style.background = \"url(http://www.restorationsos.com/imgs/loader.gif) no-repeat, url(\'http://www.restorationsos.com/imgs/btnBG.gif\') repeat-x\";
//change the text
button[0].value = \"We Are Connecting You...\";
button[0].style.textAlign = \"right\";
button[0].style.color = \"#ea2400\";
//disable the button
button[0].disabled = true;
});
直播:http://jsfiddle.net/cristiboariu/pUeue/21/
没有找到相关结果
已邀请:
2 个回复
粱委教
疾很毋悲