Click to See Complete Forum and Search --> : passing a javascript variable's value to hte form's hidden variable


suganya
09-11-2003, 05:33 PM
hi
i have two frames top and bottom...

i want to pass the values from the top frame to the hidden variables in my bottom frame before i submit my bottom frame

i used var right=parent.addColsContent.document.addColumnsRetrieve.newRight;

i am getting the value in teh javascript variable now...i want to know now how to set this value to this bottom frame's hidden variable....

thanks

Exuro
09-11-2003, 05:39 PM
Try something like this:

document.formName.hiddenElementName.value = right;

suganya
09-11-2003, 05:48 PM
worked fine...thanks very much!...