Jack,

  I'd have to see your code -- but I believe the enter key is closing
the windows as you may have focus on the overlay, and the enter is
treated as a click. jqModal doesn't attach anything specific to the
enter key. Try passing the "modal" parameter as true to see if it
adverts this behavior.

Hope this helps,

~ Brice

On Jul 16, 7:42 pm, Jack Killpatrick <[EMAIL PROTECTED]> wrote:
> 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 ajqModal. In
> thejqModalI 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,jqModalseems to have
> it's own Enter key handler (I think), which causes thejqModalto 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 thejqModalwill 
> stay open.
>
> Am I correct thatjqModalis 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 thejqModalEnter key handler? IfjqModal
> isn't attaching to the Enter key, any ideas what might be going on?
>
> TIA,
> Jack

Reply via email to