passing variables from - to frames
| From: | M | Date: | Tue, 26 Jun 2001 09:33:21 +0000 |
| Subject: | passing variables from - to frames | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55221@lists.php.net to get a copy of this message | ||
Hello, sorry this question here (it is not true PHP question), but I use
some variables into PHP scripts and need
pass these variables from one frame to another.
I want pass variable values between frames, these definded via input
hidden tags into form definition.
I have first frame name=framea containing form name=forma
then second frame name=frameb form name=formb
I have forma input type=hidden name=vara value=valuea and want to pass
this value to formb type=hidden name=varb
I wrote little javascript into framea something like
frameb.formb.varb.value = framea.forma.vara.value but only got
'javascript error'. Java doesnt reckognizes frameb.formb.varb names at
all. I tried also by creating <object id=frameb> into frameb header
but this also didnt work.
Is there some other solution?
Please help to solve this one
Thanks very much
Miguel