Javascript document variable names for complex forms
| From: | M | Date: | Mon, 24 Sep 2001 23:31:10 +0000 |
| Subject: | Javascript document variable names for complex forms | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68621@lists.php.net to get a copy of this message | ||
Hello people.
First , let me thanks all of you who answered my mime-mail question
(special Richard Lynch).
Next question (probably not for proper list, but I couldn't get answer,
so please sorry me).
I have http frame page (classical 'top', 'left' and 'center' frames),
then 'center' frame opens new window. From this new windows, I need
access some 'top' document variable names-values. I tried all possible
combinations, but couldn solve this.
Examples:
(from into new-window, child of 'center' frame)
var myvar = parent.top.document.form.var.value
var myvar = top.document.form.var.value
var myvar = parent.parent.top.document.form.var.value
Thanks in advance
Miguel