Re: How pass form variable to window.open()
| From: | John W. Holmes | Date: | Thu, 05 Aug 2004 15:06:12 +0000 |
| Subject: | Re: How pass form variable to window.open() | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192874@lists.php.net to get a copy of this message | ||
From: "CHAN YICK WAI" <chanyickwai@alumni.cuhk.net>
> in the form, for example, i have <input type=text.. name=student ...>
>
> and <input type=button onClick=window.open('url?student=$student', ....)
>
> It seems to me not working.
Define "not working" because that's how you do it. Well, actually, you need
to echo $student, unless this whole thing is already in an echo....
---John Holmes...