页面A.jsp中有一段js请求页面B.jsp。这是页面A.jsp的js代码
<script language="javascript" type="text/javascript">
function sum(sid){
$.ajax({
url: "127.0.0.1/rovi/expus/vis.action",
type: "POST",
cache: false,
dataType:"html",
data: "id="+sid,
success: function(html){
$(".experts").empty().append(html);
}
});
}
</script>请求的B.jsp页面中有一段代码是js是<script type="text/javascript" src="http://cat.gdsw.cn/lehlp_js.php?eo=1&department=322&seression=1&pimes=15">
</script> 现在问题是b.jsp这个页面的这段代码出不来,声明一下,这段代码本身没错的。
火狐firebug报错是"来自一个外部异步载入的脚本的 document.write() 调用被忽略。"
请问怎么解决啊?求教(没分了,真不好意思。)
<script language="javascript" type="text/javascript">
function sum(sid){
$.ajax({
url: "127.0.0.1/rovi/expus/vis.action",
type: "POST",
cache: false,
dataType:"html",
data: "id="+sid,
success: function(html){
$(".experts").empty().append(html);
}
});
}
</script>请求的B.jsp页面中有一段代码是js是<script type="text/javascript" src="http://cat.gdsw.cn/lehlp_js.php?eo=1&department=322&seression=1&pimes=15">
</script> 现在问题是b.jsp这个页面的这段代码出不来,声明一下,这段代码本身没错的。
火狐firebug报错是"来自一个外部异步载入的脚本的 document.write() 调用被忽略。"
请问怎么解决啊?求教(没分了,真不好意思。)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货