By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,928 Members | 1,456 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,928 IT Pros & Developers. It's quick & easy.

Simple Iframe & Form question

P: n/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.
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ah*****@sh.cvut.cz (Arcadius A.) wrote in message news:<c7**************************@posting.google. com>...
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.
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.