Simple Iframe & Form question

Discussion in 'Javascript' started by Arcadius A., Sep 24, 2003.

  1. Arcadius A.

    Arcadius A. Guest

    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., Sep 24, 2003
    #1
    1. Advertising

  2. Arcadius A.

    Arcadius A. Guest

    (Arcadius A.) wrote in message news:<>...
    > 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.
     
    Arcadius A., Sep 24, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    682
  2. elca
    Replies:
    0
    Views:
    577
  3. Daedalous
    Replies:
    3
    Views:
    705
    Daedalous
    Jan 16, 2004
  4. Replies:
    0
    Views:
    816
  5. Replies:
    2
    Views:
    596
Loading...

Share This Page