用window.open()函数传变量的问题!! 再线等待, 高手指点......
我要用表格形式显示内容兵超连接,所链接的页面有大小限制,同时还要传递变量,为了实现这些功能,用了如下代码:
<tr><td align=left><font color=blue><a onclick=window.open('dialog.asp?
name='<%=rst1("username")%>,'sample','width=360,height=265,resizable=0,scrollbars=auto') style="cursor:hand"><%=rst1("username")%> </a></font></td></tr>
在dialog.asp页接受变量:
iname=request("name")
但是变量传不过去,改用其他方法,变量的具体值又无法得到,总之,所有功能不能全部实现,再现等待, 各位高手有没有其他更好的办法或我的带拿了错了,请指点一二.....