Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Javascript (http://www.velocityreviews.com/forums/f68-javascript.html)
-   -   Simple Iframe & Form question (http://www.velocityreviews.com/forums/t872667-simple-iframe-and-form-question.html)

Arcadius A. 09-24-2003 09:54 AM

Simple Iframe & Form question
 
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.

Arcadius A. 09-24-2003 08:47 PM

Re: Simple Iframe & Form question
 
ahouans@sh.cvut.cz (Arcadius A.) wrote in message news:<c76bbb21.0309240154.2909fea8@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.


All times are GMT. The time now is 05:07 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.