Get URL variable from ASP page

jjznoh1993

New Member
I have an iframe on my page and I would like to add a variable to the iframe source only if the variable is present in the url from my page. For example, if someone visits index.asp I just want the iframe source to be \[code\]src="http://stackoverflow.com/questions/11869448/iframe.php\[/code\] but if someone visit index.asp?id=123 then I would like the iframe source to be \[code\]iframe.php?id=123\[/code\].Thanks!
 
Back
Top