我的好妈妈伴奏戴玉强:javascript中如何调用asp变量的值

来源:百度文库 编辑:中科新闻网 时间:2024/05/05 20:22:59
<SCRIPT language=JavaScript >
<!--
var hotkey=97
var destination='display.asp?id="&id&"&page="&page+1&"'
if (document.layers)
document.captureEvents(Event.KEYPRESS)
function backhome(e){
if (document.layers){
if (e.which==hotkey)
window.location=destination
}
else if (document.all){
if (event.keyCode==hotkey)
window.location=destination
}
}
document.onkeypress=backhome
//-->

</SCRIPT>

我想调用其中的&id&和&page+1&

我是个菜鸟.....希望能详细回答。。。回答的好加分~
不行啊~~~~~~~~~~~~~~

id="&<%=id%>&"&page="&<%=page+1%>&"'