错误与jQuery加载功能在Chrome浏览器


Error with jQuery load function in Chrome

我有这个问题,当我加载/index.php?route=quickcheckout/checkout with jQuery function load它的加载完美的FF在IE,有时甚至在Chrome。

但有时在Chrome浏览器不加载内容从/index.php?Route =quickcheckout/checkout,但加载你的页面在div id blagajna。

下面是我的代码:

<script type="text/javascript">
$(".img-thumbnail").click(function () {
    $(this).prev('input:radio').prop('checked', true);
});
$('form').on('click', '.img-thumbnail', function() {
        var url = "/index.php?route=checkout/cart/add";
            $.ajax({
               type: "POST",
               url: url,
               data: $("#oko").serialize(),
               async: false,
               success: function(data)
               {
                $('input:radio').prop('checked', false);
                $(".izbira").hide();
                $(".dodano").show().delay(1500).fadeOut();
                $("#blagajna").load( "/index.php?route=quickcheckout/checkout" );
               }
             });
        return false;
});
</script>

,这是URL: http://trgagate.si/index.php?route=product/product&product_id=50#narocilo

问题只出现在Chrome当你点击一些瓶子在订单形式。

错误似乎是在返回某些脚本的文件中生成的

<script type="text/javascript"><!--
    $('.colorbox').colorbox({
         width: 640,
         height: 480
    });
//--></script>

colorbox正在调用live()函数,该函数可能已弃用。如果你有权限访问jquery.colorbox-min.js文件,只需执行find+replace并将所有"live"的引用更改为"on"