Pulling some hair out over a situation here, wondering if anyone can shed some light....

I have a page, with a thickbox on it, which loads a page in it (via thickbox ajax stuff), which has a link on it that opens a jqModal. In the jqModal I have a password textbox and two buttons: btnOK and btnCancel. If the user is typing in the password box and hits the Enter key, I want to fire an event handler. Thing is, jqModal seems to have it's own Enter key handler (I think), which causes the jqModal to close, instead of firing my event handler. If I have the event handler fire when the user hits the Tab key, my event handler will fire and the jqModal will stay open.

Am I correct that jqModal is attaching something to the Enter key? I looked at the source, but it's pretty cryptic (looks semi-packed). If so, is there a way to override the jqModal Enter key handler? If jqModal isn't attaching to the Enter key, any ideas what might be going on?

TIA,
Jack

Reply via email to