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
wrote:
> I am guessing you mean a Python variable
Right
> so maybe:
> _onmouseover="displayTe
> 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
{{= }} ?
Kenneth
It is the watchers[check_date] that holds the text that should be sent
I got the onmouseover to work but how do I send text to the javascript
from a variable. I have this code
TD(P(day, _class="text_black"), _class="red",
_onmouseover="displayText('info', watchers[check_date])",
_onmouseout="hideText('info')")
It is the watchers[check_date] that holds the text
The problem was in missing ,
I took a working code from HTML and added _ to onmouseover and
onmouseout and forgot about commas. Stupid mistake.
Kenneth
Yes. The error is probably in other order
TD(_onmouseover="","content") WRONG
TD("content",_onmouseover="") RIGHT
On Mar 23, 8:38
4 matches
Mail list logo