On Mar 24, 4:41 pm, Kenneth Lundström <kenneth.t.lundst...@gmail.com> wrote: > > I am guessing you mean a Python variable > > Right > > > so maybe: > > _onmouseover="displayText('info', {{=watchers[check_date]}} )", > > But I m building the table in the controller so I guess I can t use > {{= }} ?
In that case: _onmouseover="displayText('info', %s)" %watchers[check_date], > Kenneth > > > > > > > > >> It is the watchers[check_date] that holds the text that should be sent > >> to the javascript but nothing is sent. > > >> I have verified that the variable contains text and if I define > >> _onmouseover="displayText('info', 'test_text')", > > >> it works. > > >> Kenneth