Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是经典asp的新手。
asp 页面获取 urlparameters 并根据它调用的 url 参数加载适当的 html 页面。
我需要在html页面中显示一些url参数,需要从经典的asp页面传过来?如何实现?
既然你问过 JavaScript,这里有一个粗略的例子:
<script type="text/javascript"> alert('URL parameter value is: <%=Replace(Request.QueryString("paramnamehere"), "'", "\'")%>'); </script>
将“paramnamehere”替换为 URL 参数的名称,您将看到它的值作为客户端警报对话框。