Re: pass javascript variable to php?
| From: | Mike Flynn | Date: | Thu, 08 Nov 2001 04:32:45 +0000 |
| Subject: | Re: pass javascript variable to php? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10286@lists.php.net to get a copy of this message | ||
At 07:02 PM 11/7/01 -0800, you wrote:
>I've got checkbox that I get the status of with javascript and I put the status into a
>javascript variable. How do I get that variable over to php?
>I don't want to hit the submit button to get the variable into php.
>
>Thanks,
>Aaron
Not possible. It doesn't make sense to think of it like that. And even if by some time-space
fracture you could, it wouldn't do anything. :) PHP is SERVER-SIDE. JavaScript is
CLIENT-SIDE. Never the twain shall meet, except via loading a new page with certain parameters.
-Mike