Simple Iframe & Form question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Arcadius A.

    #1

    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.

    #2
    Re: Simple Iframe &amp; Form question

    ahouans@sh.cvut .cz (Arcadius A.) wrote in message news:<c76bbb21. 0309240154.2909 fea8@posting.go ogle.com>...[color=blue]
    > 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?[/color]

    I figured it out....
    Thanks.

    Arcadius.

    Comment

    Working...