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

From: Date: Fri, 20 May 2011 18:58:06 +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-312994@lists.php.net to get a copy of this message
On 11-05-20 02:30 PM, 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?
You need a trip to the server whether it be using the a URL, POST, or any othe rmethod that informs the system of something. AJAX is just fancy wrapping around GET and POST. Back in the early days we used transparent pixel GIF images and JavaScript to do the same. Cheers, Rob. -- E-Mail Disclaimer: Information contained in this message and any attached documents is considered confidential and legally protected. This message is intended solely for the addressee(s). Disclosure, copying, and distribution are prohibited unless authorized.

« previous php.general (#312994) next »