Solved

request querystring from iframe

Posted on 2007-03-23
6
756 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
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.

 
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

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…
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

823 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