HighDots Forums  

Simple Iframe & Form question

Javascript JavaScript language (comp.lang.javascript)


Discuss Simple Iframe & Form question in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Arcadius A.
 
Posts: n/a

Default Simple Iframe & Form question - 09-24-2003 , 04:54 AM






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.

Reply With Quote
  #2  
Old   
Arcadius A.
 
Posts: n/a

Default Re: Simple Iframe & Form question - 09-24-2003 , 03:47 PM






ahouans (AT) sh (DOT) cvut.cz (Arcadius A.) wrote in message news:<c76bbb21.0309240154.2909fea8 (AT) posting (DOT) google.com>...
Quote:
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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.