I need to set a PHP variable dynamically with Javascript. I googled but all I got was PHP to Javascript-conversion.
Is there a way to pass Javascript variable to PHP? And is there a helper in CakePHP to do the job? And can it be done dynamically (without refreshing page)?