[Templates] sending javascript value to TT2

Josh Rosenbaum josh@infogears.com
Tue, 05 Jun 2007 00:42:13 -0600


Rajkumar Natarajan wrote:
> I am using Javascript to read a cookie. Now,  I want  to pass the  
> value  to  TT2.
> How to pass javascript(vari)  to TT2(rate_email)  ?
[SNIP]

Javascript is processed in the browser (client-side), not by TT(server-side). You should be accessing the cookie via your backend/TT without the use of javascript.

-- Josh