No. You have to send h to the server via ajax. The "message: variable lives in the server, not the client.
On May 6, 6:13 am, Resa <[email protected]> wrote: > how can i put javascript in a python variable eg > > var h-"hello" > {{message}}=h > can this work and if not how can i do it?

