How to access hidden variables from frames
how to access hidden variables from frames
Collapse
X
-
Tags: None
-
Say you're in the left frame and the frame containing the hidden form variable is in the right frame:
[code=javascript]var hidden = top.right.docum ent.forms[formName].elements[hiddenElemName].value;[/code]where formName and hiddenElemName are the names of the form and the hidden element respectively.
Comment