jQuery插件没有在IE10中加载

时间:2013-04-10 03:08:33

标签: jquery internet-explorer zurb-foundation

我正在使用jQuery选择框,它可以在IE以外的所有测试浏览器中使用。

这就是我加载它的方式:

<script type="text/javascript">
    $(document).ready(function(){
        $("#team").selectbox({
            speed: 100
        });
        $("#site").selectbox({
            speed: 100
        });
        $("#info").selectbox({
            speed: 100
        });
    });
</script>

我得到了:

SCRIPT438: Object doesn't support property or method 'selectbox'

如果可以,请帮忙。

P.S。,这是js加载顺序的内容:

<script type="text/javascript" src="/js/foundation/foundation.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.alerts.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.clearing.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.cookie.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.dropdown.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.forms.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.joyride.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.magellan.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.orbit.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.placeholder.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.reveal.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.section.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.tooltips.js"></script>
<script type="text/javascript" src="/js/foundation/foundation.topbar.js"></script>
<script type="text/javascript" src="/js/vendor/custom.modernizr.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery.selectbox-0.2.min.js"></script>
<script type="text/javascript" src="/js/globals.js"></script>

0 个答案:

没有答案