[thelist] targeting an iframe with a form (forget previous)

Hans-Fr=?ISO-8859-1?B?6WTp?=ric Fraser hfraser at videotron.ca
Sun Jan 12 00:29:00 CST 2003


ok after more testing!

when i am building my window and setting document.body.innerHTML
somewhere along the way ! i lose the target of my form ... it dosent show
up!


here is an example of what i am doing

<span id="myForm">
    <form name="editFold"  target="favFrame" method="get" action="fav.php">
        some elements ...
    </form>
</span>


alert(document.getElementById(myForm).innerHTML);

the output is!
<form name="editFold" method="get" action="fav.php">
     some elements ...
</form>


as you can see i lost the target attribute!
i cant seem to figure why!

hans!




More information about the thelist mailing list