geuis
06-04-2003, 08:33 PM
How can I access <form> elements in one frame from another frame?
I have a javascript that is going to make a variable equal to the value of a text field in another frame. I'm not sure how to code it to access.
Eg.
the javascript is in topFrame and the text box is in bottomFrame.
var myVar = window.????.form1.inputBox.value;
where ???? is the code I'm not sure of.
I have a javascript that is going to make a variable equal to the value of a text field in another frame. I'm not sure how to code it to access.
Eg.
the javascript is in topFrame and the text box is in bottomFrame.
var myVar = window.????.form1.inputBox.value;
where ???? is the code I'm not sure of.