ASP中调用JAVASCRIP函数,是那里错了?
<script language="javascript">
function back()
{
document.write(response.redirect"index.asp");
}
</script>
这里是调用的语句:
<input type="button" name="b3" value="返回" onclick="back();">
------解决方案--------------------
<script language="javascript">
function back()
{
location.href="index.asp";
}
</script>
response.redirect是服务器段代码,和客户端的js代码无关.