On 5/30/07, Stuart <[EMAIL PROTECTED]> wrote:


I'm trying to bind a keypress event handler to the input element in
the last cell of a table row. In the real application this will be
used to check for a tab key and call a function to add another row to
the table. I have it working in FF but apparently the keypress event
never gets bound in IE 6 or 7.


The problem is not that the event doesn't get bound in IE, it's that IE
doesn't fire keypress for the TAB key. See:

http://www.quirksmode.org/js/keys.html

You'll want to use keydown instead. For more info, see:

http://groups.google.com/group/jquery-en/msg/685eb3294c2e9c4e

- Richard D. Worth

Reply via email to