Re: <img src .....> problem in onclick

From: Date: Fri, 20 May 2011 18:46:03 +0000
Subject: Re: <img src .....> problem in onclick
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-312991@lists.php.net to get a copy of this message
At 9:30 PM +0300 5/20/11, Andre Polykanine wrote:
Hi Richard, Tedd,
           Hey  guys,  you  did  understand  what I meant. I meant you
can't just go and write a session variable by onclicking it in JavaScript. You need AJAX for that, don't you?
AJAX = JavaScript. AJAX is simply JavaScript communicating with the server. It's similar to saying "Use SESSIONS to hold values between pages instead of using PHP". I did investigate this before, as seen here: http://webbytedd.com/b1/ajax-js-dection/ As the the page loads, the SESSION variable is from "none" to "js", but you can't see it until you force a reload. So, JavaScript did chang the SESSION variable,. Cheers, tedd -- ------- http://sperling.com/

« previous php.general (#312991) next »