Uffe
11-22-2003, 05:01 AM
Just wondering if it is possible to update an iframe from an other iframe. Both frames are in the same document "index.html".
|
Click to See Complete Forum and Search --> : Iframe Uffe 11-22-2003, 05:01 AM Just wondering if it is possible to update an iframe from an other iframe. Both frames are in the same document "index.html". IzzieLeeLucas 11-22-2003, 06:31 AM What was it that you were wanting to update? Izzie ray326 11-22-2003, 11:12 AM http://devedge.netscape.com/viewsource/2003/inner-browsing/ Shampie 11-22-2003, 11:43 AM I think that should be possible, say there is a button in boot1 (iframe 1) and a textbox (textbox1) in boot2 (iframe 2) call a function on the button: function test(){ parent.boot2.formname.textbox1.value = "modified it!" } same counts for putting in a button in boot2 and textbox (textbox2) into boot1 function test2(){ parent.boot1.formname.textbox2.value = "and now this is changed!" } to do this in the page itself use: this.parent.formname.object.value Hope this will help. ray326 11-22-2003, 01:57 PM http://www.w3schools.com/dhtml/tryit.asp?filename=try_dom_iframe_src webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |