[web2py] Re: Translate inside javascript function with javascript variable

2014-05-06 Thread lula bad
Am Dienstag, 6. Mai 2014 02:48:29 UTC+2 schrieb Anthony: > > var set_info_text = function (txt) { >> $('#info_text').innerHTML = '{{=T(txt)}}'; >> }; >> >> Keep in mind that the web2py template syntax is Python that gets executed > on the sever in order to generate the HTML page.

[web2py] Translate inside javascript function with javascript variable

2014-05-04 Thread lula bad
Hi, i have the following problem. I have a javascript funktion inside a