简体   繁体   English

不能在ie9对象中使用的jquery语句不支持此属性或方法

[英]jquery statement not working in ie9 object doesn't support this property or method

having a nightmare.. my website is working in all my browsers except for well you probably can guess what for ie9.. im using 2 jquery plugins one of them is flexslider.. 一场噩梦..我的网站在我所有的浏览器中都运行,除了好,你可能会猜出ie9 .. im使用2个jquery插件是什么,其中之一是flexslider ..

it says in the console that the object doesn't support this property or method flexslider and points the line 它在控制台中说对象不支持此属性或方法flexslider并指出了这一点

1st bug - $('.flexslider').flexslider({ 第一个错误- $('.flexslider').flexslider({

        <script type="text/javascript" src="js/jquery.flexslider.js"></script>

       <script type="text/javascript" charset="utf-8">
        $(function() {
           $('.flexslider').flexslider({
               animation: "slide",
                directionNav: false
             }); 
         });
   </script>

2nd bug - `$( '#cbp-qtrotator' ).cbpQTRotator(); 第二个错误-`$('#cbp-qtrotator').cbpQTRotator();

      <script src="js/jquery.cbpQTRotator.js"></script>
        <script>
         $( '#cbp-qtrotator' ).cbpQTRotator();
        </script>

anyone know how to fix this to make it work on ie9 would be a real great help.. the site is www.fuss-beauty.com 任何人都知道如何修复它以使其在ie9上工作将是一个真正的巨大帮助。该站点是www.fuss-beauty.com

** UPDATE * * ** 更新 * *

managed to solve my problem... was uploading two jquery files.. didn't realise foundation came with a js file... so annoying.... so i have now relised.. you can only have one js file running... just let everyone know... 设法解决了我的问题...上传了两个jquery文件..并没有意识到基础是js文件的源...如此烦人....所以我现在就依赖了..您只能运行一个js文件。 ..只是让大家知道...

I managed to solve my problem: I was uploading two jquery files, didn't realise foundation came with one. 我设法解决了我的问题:我上载了两个jquery文件,但没有意识到基础是一个。 So annoying, I now have realized you can only have one js file runningat the same time. 太烦人了,我现在意识到您只能同时运行一个js文件。

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

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