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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux