Click to See Complete Forum and Search --> : Targeting Frames


brendandonhue
05-04-2003, 06:59 PM
In JS to target a form's textbox you would use
document.formname.textbox.value

But how would you do that with a textbox in a frame?
If the frame was named "main" would it be something like
document.main.textbox.value?

Thanks in advance!

brendandonhue
05-04-2003, 07:24 PM
Solved.

parent.frame.form.textbox.value