修改个代码<script type="text/javascript"> document.write('<script type="text/javascript src="../in
修改个代码:<scripttype="text/javascript">document.write('<scripttype="text/javascriptsrc="...
修改个代码:
<script type="text/javascript">
document.write('<script type="text/javascript src="../include/function1.asp?lailuUrl='+document.referrer+'"><\/script>');
</script> 展开
<script type="text/javascript">
document.write('<script type="text/javascript src="../include/function1.asp?lailuUrl='+document.referrer+'"><\/script>');
</script> 展开
2个回答
展开全部
你把后台代码和前端代码混在一起了,如果是后台代码,直接写
document.write("<script type='text/javascript'> location.href='../include/function1.asp?lailuUrl=+document.referrer<script>");
document.write("<script type='text/javascript'> location.href='../include/function1.asp?lailuUrl=+document.referrer<script>");
追问
Active Server Pages 错误 'ASP 0138'
嵌套的 Script 块
/index.html,行 12
Script 块不能放在另一个 Script 块内。
如何修改这个
追答
把里面嵌套的script拿掉就可以了
document.write(" location.href='../include/function1.asp?lailuUrl=+document.referrer");
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询