/    Sign up×
Community /Pin to ProfileBookmark

Update Frame value?

I need to update a text field value in the 1st frame of a 2 frame set.

I’ve tried multiple attempts to get it right. Right now I have

window.opener.document.RT.Column1answer.value = Number(myform.field1.value) + Number(myform.field2.value);

But this is not working. Any ideas what I’m doing wrong?

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliDec 30.2003 — I hope this will answer any simple/complex questions you may have with regards to the frame communications

[url=http://68.145.35.86/skills/javascripts/frames/ParentChildFramesInteraction.html]Resource link[/url]
Copy linkTweet thisAlerts:
@rwaringauthorDec 30.2003 — Thank you very much. A valued link!

I was able to solve the problem by providing my frame with a name and referencing it that way.
Copy linkTweet thisAlerts:
@Khalid_AliDec 30.2003 — yuo are welcome,,,?
×

Success!

Help @rwaring 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.18,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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