• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

Update parent input box from Iframe

What's the syntax to update a text input box on the parent from an IFrame?
0
carsRST
Asked:
carsRST
1 Solution
 
nap0leonCommented:
I can't locate my working example of this...
try using "window.parent"

it might have been
window.parent.documentGetElementById("IDToUpdate").value= document.getElementById("IDWithValueToUse").value

Sorry - wish I had the working example handy...
0
 
carsRSTAuthor Commented:
i was able to eliminate "window" but it worked.

Thanks!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now