RE: [PHP] php and javascript question
| From: | Scott Hurring | Date: | Wed, 05 Jun 2002 21:42:16 +0000 |
| Subject: | RE: [PHP] php and javascript question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-100818@lists.php.net to get a copy of this message | ||
As someone else suggested a few days ago: try using an IFRAME,
and refreshing it from javascript with the values you need.
The whole browser will not refresh, just the IFRAME, which
will give the illusion of jscript and php talking to each
other in realtime.
---
Scott Hurring
Systems Programmer
EAC Corporation
ScottH@eac.com
Voice: 201-462-2149
Fax: 201-288-1515
> -----Original Message-----
> From: Martin Clifford [mailto:MLC1@nrc.gov]
> Sent: Wednesday, June 05, 2002 4:24 PM
> To: kemusoft@hotmail.com; php-general@lists.php.net
> Subject: Re: [PHP] php and javascript question
>
>
> As far as I'm aware you can't create a javascript variable
> and use it within PHP on the same page. You can add that
> variable's value to a hidden form element to be passed to the
> next page, but I don't think so with the same page.
>
> martin
>
> >>> "kemu" <kemusoft@hotmail.com> 06/05/02 02:30PM >>>
> I have a page first he generates a var in javascript
> my next question is
> is it possible to use that var in php on the same page
> first he does the javascript then the php ?
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>