I can use e.keyCode for keydown, keypress and keyup events on a single object like this:
- Code: Select all
<showCode>
<function name="myKeyPress" event="keypress" params="e">
<![CDATA[
alert(e.keyCode);
]]>
</function>
</showCode>
but this will not work for a group because I must include useTB="true". Is there a TB equivalent of e.keyCode, please? If not I will just have to write a separate script for each object.
John