/    Sign up×
Community /Pin to ProfileBookmark

Info from frame?

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

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliAug 25.2003 — you are almost there

use the following

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

This should solve your question
Copy linkTweet thisAlerts:
@ShampieauthorAug 25.2003 — 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!
×

Success!

Help @Shampie spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,
)...