【发布时间】:2011-06-22 11:53:56
【问题描述】:
我在一个页面 mainpage.aspx" 中我有这个代码:<a rel="facebox" href="destination.htm?path=blabla">mainpage</a>
我使用 facebox() 加载destination.htm
问题出在我的destination.htm 中,当我试图点击警报(window.location.href)时,我得到的是mainpage.aspx 而不是destination.htm.why?我要做的就是从页面中读取路径以获取查询字符串(但我得到了错误的路径)。
非常感谢
【问题讨论】:
标签: asp.net html query-string facebox