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 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

Yes. The error is probably in other order

TD(_onmouseover="....","content") WRONG
TD("content",_onmouseover="....") RIGHT

On Mar 23, 8:38 am, Kenneth Lundström<kenneth.t.lundst...@gmail.com>
wrote:
Is it possible to use onmouseover when using helpers?

I tried to use TD(_onmouseover="...." but get an error ticket saying

SyntaxError:invalid syntax

Kenneth

Reply via email to