IFRAME AS FORM TARGET! POSSIBLE?

Discussion in 'Javascript' started by Federico Bari, Sep 2, 2003.

  1. Hi all,

    does somebody know how to target the answer of a form to an iframe (in
    ie expecially)???? I use iframe as temporary object to redirect the content
    do a layer built with a <div...> tag; this is possible with an hiperlink:
    clicking on it i can change the layer content whit a file in a URL location
    storing the answer first in the iframe and then sending is content to the
    <div...>. Here following the code:

    <script>
    function showText(){
    theText = window.textFile.document.body.innerHTML;
    MM_setTextOfLayer('Layer1','',theText)
    if(theText>"")
    alert(theText);
    }
    </script>

    [...]

    <div id="Layer1" style="position:absolute; left:218px; top:120px;
    width:205px; height:134px; z-index:1"></div>
    <p onClick="window.textFile.location = 'testo.txt'">prova </p>

    testo.txt is just a static file; now i need to upgrad the final <div...>
    layer with the answer of a form gived by a php script who accep GCI variable
    .... i need to target the temp <iframe...> with a real html form. Somebody
    know how can i do?????

    Thank you very much. Federico.
     
    Federico Bari, Sep 2, 2003
    #1
    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. Federico Bari

    IFRAME AS FORM TARGET! POSSIBLE?

    Federico Bari, Sep 2, 2003, in forum: HTML
    Replies:
    4
    Views:
    32,681
    Federico Bari
    Sep 2, 2003
  2. Daedalous
    Replies:
    3
    Views:
    712
    Daedalous
    Jan 16, 2004
  3. Replies:
    2
    Views:
    190
  4. Replies:
    0
    Views:
    820
  5. acoleman616

    Canceling a form submitted to an iframe target

    acoleman616, Jan 6, 2010, in forum: Javascript
    Replies:
    31
    Views:
    407
    Jorge
    Jan 8, 2010
Loading...

Share This Page