Javascript Jquery加载不工作IE-用于在使用Jquery打印之前预览DIV
我使用这段代码,在页面中加载一个div。为了实现这一点,我获取DIV所在页面的URL,并用页面中的DIV替换获取的DIV div_PrintArea_loader-我的打印页面内的div div_Content-在div_print area_loader中获取并替换的内容Javascript Jquery加载不工作IE-用于在使用Jquery打印之前预览DIV,javascript,jquery,Javascript,Jquery,我使用这段代码,在页面中加载一个div。为了实现这一点,我获取DIV所在页面的URL,并用页面中的DIV替换获取的DIV div_PrintArea_loader-我的打印页面内的div div_Content-在div_print area_loader中获取并替换的内容 <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
var value = window.location.search;
$(document).ready(function () {
$("#div_PrintArea_loader").load(value.replace("?print=", "") + " #div_Content");
});
</script>
var值=window.location.search;
$(文档).ready(函数(){
$(“#div#u print area_loader”).load(value.replace(“?print=“,”)+“#div_Content”);
});
你的问题是什么?你试过了吗