how to access hidden variables from frames

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shivakumarsms
    New Member
    • Sep 2006
    • 1

    how to access hidden variables from frames

    How to access hidden variables from frames
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    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

    Working...