Simple Iframe & Form question

A

Arcadius A.

Hello!
I'm new to JavaScript.

I have a page "main.html" that contains a form named "form1" with a
text field named "text1".
the page "main.html" contains an iframe which source is another page
"page2.html".
I would like that when a html(<a href=... ... </a>) link contained in
"page2.html" is clicked, that the field "text1" is set to let's say
"hello there!".

How can this be done in Javascript?

Thanks in advance.

Arcadius.
 
A

Arcadius A.

Hello!
I'm new to JavaScript.

I have a page "main.html" that contains a form named "form1" with a
text field named "text1".
the page "main.html" contains an iframe which source is another page
"page2.html".
I would like that when a html(<a href=... ... </a>) link contained in
"page2.html" is clicked, that the field "text1" is set to let's say
"hello there!".

How can this be done in Javascript?

I figured it out....
Thanks.

Arcadius.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top