I've used the iframe tag in Internet Exploder to talk to the server via
javascript. It may be possible using a regular frame also. Here's the low
down on how I did it.
1.) Some onclick, onchange ... action calls a javascript function that looks
like this
function getData() {
2001 09:01:33 -0800
Subject: [PHP] is it possible to communicate javascript and php?
I would like to know if it possible to pass in any way some values
from javascript functions to php variables ?
Any FAQ?
Thanks
--
Evelio Martnez
Testanet. Dept. desarrollo software.
Av. Reino de
On Sat, Jan 20, 2001 at 05:20:53PM -0800, Alex Black wrote :
no without submitting information to the server with get or post.
for example, if a bit of javascript you have comes up with some value, the
only way you can get it to the server is to put it in a get and send the
user to that
I would like to know if it possible to pass in any way some values
from javascript functions to php variables ?
Any FAQ?
Thanks
--
Evelio Martnez
Testanet. Dept. desarrollo software.
Av. Reino de Valencia, 15 - 5
46005 Valencia (Spain)
Tel: +34 96 395 90 00
Fax: +34 96 316 23 19
I would like to know if it possible to pass in any way some values
from javascript functions to php variables ?
Yes, but...
You can have JavaScript call another URL using something like:
document.location = 'http://yoursite.com/whatever.php?foo=' . $foo;
But keep this in mind: PHP lives on
5 matches
Mail list logo