It's not possible. tmpl_context lives on the server side whereas Javascript runs on the client site. Unless you serialize your object and send it over the wire, which is probably very insecure, there is not way to do that.
What do you mean by "I found the method to use in html" ? 2010/10/30 anusha <[email protected]>: > Hello all, > > Is there any method to access c or tmpl_context in javascript. I found > the method to use in html but i cant find whether it is possible or > not in js and if possible how it is. > > Thanks in advance > Anusha > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- Alex | twitter.com/alexconrad -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
