Click to See Complete Forum and Search --> : Info from frame?


Shampie
08-24-2003, 03:42 PM
Hello scripters!

It has been quitte a time I have been on here now (meaning that scripting has been better to me) there a question I wouldn't mind to it anwsered.. so if anyone can..
here I go..

setup:
a page with a bunch of frames (say 2)
frame 1 is called Fluffy and frame 2 is called Bunny.
now when I press a button in Fluffy it needs to read it out from Bunny and put it in a textbox on Fluffy (crossbrowser?)
How is this done? and can it be done?
I was kinda hoping it would go more like:
pressing the button calls a function
Fluffy.formname.objectname.value = Bunny.formname.objectname.value

I'd greatly appreactiate you help!
thank you,Danke,Dank u & Merci

Khalid Ali
08-25-2003, 01:52 AM
you are almost there

use the following

parent.framename.formname.objectname.value = parent.framename.formname.objectname.value

This should solve your question

Shampie
08-25-2003, 12:11 PM
And it did indeed solve the problem.
A lot of my scripting need to be adjusted now so I hope that the scripts will eventually still work and work as wanted ;)

tnx!