0
工作,我有这个页面:http://www.justdoors.co/plinths/bella-matching-plinth.htmljQuery的仅适用于Chrome
以下代码为忽略CSS类:
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('div.product-options-container:not(:eq(0))').css('height', '34px !important');
jQuery('div.product-options-container:not(:eq(0))').css('overflow', 'hidden');
jQuery('div.product-options-title:not(:eq(0))').css('padding', '15px 0 5px 10px !important');
jQuery('div.product-options-chooser:not(:eq(0))').css('width', '290px !important');
});
</script>
的脚本工作正常,在Chrome,但似乎并没有工作在其他浏览器中,我错过了什么?
您是否尝试过在任何其他浏览器(Firefox的FireBug,Opera的Dragonfly,IE的开发人员工具)上激活开发人员工具?他们应该能够查明任何javascript错误。 – ford