Click to See Complete Forum and Search --> : ASP: calling querystring value in iframe


cancer10
08-27-2008, 06:47 AM
Hey,

Urgent help needed.


I have an .asp page (index.asp) and I have an <iframe src="myframe.asp"> in that .asp page.

Is there any way I can fetch the value that is being passed in the index.asp querystring in myframe.asp page?


so, suppose the link: http://mydomain.com/index.asp?id=5

can I fetch that value of id in the myframe.asp page (which is the iframe page)? If yes, How?




Thanx

gil davis
08-27-2008, 07:07 AM
<iframe src="myframe.asp?id=<%=request.querystring("id")%>">

cancer10
08-27-2008, 07:13 AM
Thanx, that worked :)