![]() |
|
|
+ Search |
![]()
|
Feb 23rd, 2001 02:31
Luiz Paulo Rosa, Sandra Ferrari, unknown unknown,
You can set a JavaScript variable to receive an ASP value then use it
in the Open() function.
<script language=Javascript>
var name = "<%=request("WindowName")%>";
var url = "<%=request("URL")%>";
var myWindow = window.open(url,name);
</script>
This is the clean method, easier to debug. But you can just do
<script language=Javascript>
var myWindow = window.open('<%=request("WindowName")%>','"<%=request
("URL")%>');
</script>
I hope this can be helpful.
© 1999-2004 Synop Pty Ltd