Hello,
I have this code and what I'm trying to do is send a variable from my hyperlink code to
the OpenWindow function. I'll then send this variable using querystrings to another ASP
page where I'll then use it.
1.)
Code:<a href="javascript:OpenWindow('testing123');">Test sending var</a>
2.)
Code:<script language="JavaScript"> <!-- function OpenWindow(myVar) { window.open("specials.asp?yourVar=myVar","NewWindow","width=400,height=400,noresize,scrollbars=yes,toolbar=0,menubar=0"); } // end popup windows --> </script>
3.)
In specials.asp I'll then do this, and hopefully var = "testing123"
Code:<% dim var var = request.querystring(yourvar) %>
Thanks,
T




Reply With Quote