Advertisement

03.06.2008 at 05:08PM PST, ID: 23221751
[x]
Attachment Details

read URL variable and put into iframe src url string

Asked by mrduckers in JavaScript

Hi,
It is possible to read URL variable and put into iframe src url string

EG:
The page url is:
www.mypage.com?date=1/1/2008

In this page, I want to have an iframe with the code:
<iframe src="http://myotherpage.com/events.asp?date=[THE DATE IN URL]" width="100" height="100">

I can easily do this in asp, but the page has to be HTML and JavaScript only.

Thanks
Start Free Trial
[+][-]03.06.2008 at 05:27PM PST, ID: 21066479

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 05:42PM PST, ID: 21066531

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 06:51PM PST, ID: 21066924

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 07:12PM PST, ID: 21067043

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: JavaScript
Sign Up Now!
Solution Provided By: daleyjem
Participating Experts: 3
Solution Grade: A
 
 
[+][-]03.06.2008 at 07:17PM PST, ID: 21067061

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.06.2008 at 07:17PM PST, ID: 21067066

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 07:37PM PST, ID: 21067153

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 07:41PM PST, ID: 21067177

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628