Re: Javascript document variable names for complex forms
| From: | Gaylen Fraley | Date: | Mon, 24 Sep 2001 23:45:22 +0000 |
| Subject: | Re: Javascript document variable names for complex forms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68622@lists.php.net to get a copy of this message | ||
Try
var myvar = opener.parent.top.document.form.var.value
--
Gaylen
gfraley5@earthlink.net
http://www.gaylenandmargie.com
PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts
"M" <mavemus@yahoo.com.br> wrote in message
news:3BAFC23E.18B6C7DB@yahoo.com.br...
> 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
>
>