Thank You,

now I understand what that %s does. Have been using it for maybe twp years without understanding, just coping it from examples.


Kenneth


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

Reply via email to