Re: how to pass javascript variable to php script

From: Date: Fri, 11 Aug 2000 14:03:43 +0000
Subject: Re: how to pass javascript variable to php script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11322@lists.php.net to get a copy of this message
> Hello Friends, > I want to pass a javascript variable to php script. using include > statement. Is there any way? > how to do it? is it possible? > > From:- > Ami Choksi Sure. Javascript is totally client side, but you can: 1. Set a cookie 2. use a hidden var 3. set a querystring in window.location These methods will only take place when you reload the page, of course. You could use a 1x1 hidden frame, or reload stuff into a <layer> or <div> as well.

« previous php.general (#11322) next »