简体   繁体   English

jQuery选项卡在Internet Explorer 8中不起作用

[英]Jquery tab not working in Internet Explorer 8

Hello all, 大家好,

I used jquery tabs in my website which is working proper in all other browsers except IE. 我在网站上使用了jquery标签,该标签在IE以外的所有其他浏览器中均能正常工作。

Please resolve this issue. 请解决此问题。 Thanks in Advance 提前致谢

I used this script : 我使用了这个脚本:

jQuery(function() {</p>
/* Tabs */
    jQuery("#productsList").tabs();</p>
});

Things worked in IE6, Firefox, and IE8 running in IE7 compatibility mode; 事情可以在以IE7兼容模式运行的IE6,Firefox和IE8中运行。 but not in 'normal' IE8. 但不是在“普通” IE8中。 My solution was to put this code in the header 我的解决方案是将此代码放在标头中

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM