View Single Post
  #1 (permalink)  
Old 07-02-2008, 10:47 AM
coder coder is offline
WebProWorld Veteran
 
Join Date: Jul 2004
Location: Ohio
Posts: 454
coder RepRank 0
Question iFrame parent querystring

I don't know if this can be done in asp or if I need to figure out a script to do this, but I have an iframe and I need to call the value of the parents querystring.

this is the connection I have, which doesn't call the parents url.

WHERE videoid = "&request.querystring("vid")&"

From what I've found this can only be done using javascript, I have very limited knowledge of javascript and people recommend using

alert(parent.location.search)//querystring
alert(parent.location.href)//full-path url including querystring

So how do I incorporate that with

WHERE videoid = "&request.querystring("vid")&"

to be able to pull the value of vid because the alerts only display the value in alert tags?

Thanks for any advice, i'm completely stumped on this.
__________________
-Matt
Fireworks | Softbills | Halloween
Reply With Quote