Solved

request querystring from iframe

Posted on 2007-03-23
6
757 Views
Last Modified: 2013-12-24
i have this iframe
<iframe height=600 width=650 frameborder=0  src=http://www7.justmarketing.com/Cheever/detailvideomessage.asp></iframe>

i need to pass querystring string called id from theat iframe  

how can i do this?
0
Comment
Question by:gianitoo
  • 3
  • 3
6 Comments
 
LVL 22

Expert Comment

by:Ivo Stoykov
ID: 18779939
Hi gianitoo

to pass from where to where?

!i!
0
 
LVL 1

Author Comment

by:gianitoo
ID: 18779958
http://www7.justmarketing.com/Cheever/detailvideo.asp?ID=20

that link below takes you to a page where there is an iframe
<iframe height=600 width=650 frameborder=0  src=http://www7.justmarketing.com/Cheever/detailvideomessage.asp></iframe>

so somehow detailvideomessage nees to be detailvideomessage.asp?id=20 also
0
 
LVL 1

Author Comment

by:gianitoo
ID: 18779990
page detailvideo.asp      has an iframe  with that code that you see above

that iframe needs to pick up that id=whatever the id is  so   detailvideomessage.asp page query can work
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 22

Expert Comment

by:Ivo Stoykov
ID: 18780084
Hi gianitoo

try to add an ID to the iframe and then you could use a script at parent frame adding required querystring

i.e.

<iframe id="f" height=600 width=650 frameborder=0  src=http://www7.justmarketing.com/Cheever/detailvideomessage.asp></iframe>

and on the parent frame you could do something like

f.src += '?id=20';

this will should add needed id

HTH

!i!
0
 
LVL 1

Author Comment

by:gianitoo
ID: 18780145
no i done it before but i forgot the syntax

i need this
<iframe height=600 width=650 frameborder=0  src=http://www7.justmarketing.com/Cheever/detailvideomessage.asp?id=request.querystring("id")></iframe>
0
 
LVL 22

Accepted Solution

by:
Ivo Stoykov earned 500 total points
ID: 18780209
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question