Internet explorer 为什么不换?

Internet explorer 为什么不换?,internet-explorer,jquery,Internet Explorer,Jquery,我得到了一个答案:它在FF中工作,但我的jQuery代码在IE中没有问题,这里是一段代码 jQuery(this).click(function() { jQuery.post(href + '&rnd=' + Math.random(), function(data,status) { jQuery('.progress').show(); if(status == 'success') { va

我得到了一个答案:它在FF中工作,但我的jQuery代码在IE中没有问题,这里是一段代码

jQuery(this).click(function()
{
    jQuery.post(href + '&rnd=' + Math.random(), function(data,status)
    {
        jQuery('.progress').show();

        if(status == 'success')
        {
            var d = jQuery('<div id="insertDiv" />').hide().append(data);
            var insert = jQuery(d).find('#contentframe').attr('id', 'insertFrame');
            jQuery('body #contentframe').after(insert).remove();
            jQuery('#insertFrame').attr('id','contentframe');
            var cf = jQuery('div.contentformular, div.update').clone().end().remove();

            jQuery('div.action').after(cf);
            jQuery('.progress').hide();
            //jQuery('html').after(data).remove();
        }
    })
}); 
正如我提到的,它在FF中工作,但在IE中只删除了jQuery的“body contentframe”。也许有人遇到过类似的问题


干杯

不确定这是否是问题的全部,但您在倒数第二行的末尾缺少了一个分号。

您为什么不使用$而不是JQuery?他可能在无冲突模式下运行