<Script>
var title;
title="哈哈哈";
window.showModelessDialog("index.asp?title="+title)
</Script>在index.asp中加入
<%=Request.QueryString("title")%>
var title;
title="哈哈哈";
window.showModelessDialog("index.asp?title="+title)
</Script>在index.asp中加入
<%=Request.QueryString("title")%>
要带的变量是本页aaa
window.showModelessDialog('index.asp?title=<%=Request.QueryString("aaa")%>')
在php中我这样写:
要传的是本页的变量$aaa
window.showModelessDialog('index.php?title=<? echo $aaa;?>')在index.php中 <?echo $title;?> 没结果。