How to Detect an Event Coming from the Firefox History Dropdown Box

Posted by banterCZ on Stack Overflow See other posts from Stack Overflow or by banterCZ
Published on 2010-03-24T15:57:14Z Indexed on 2010/03/24 16:03 UTC
Read the original article Hit count: 231

How to detect an event coming from the Firefox history dropdown box?

I need to distinguish between the enter key simply pressed on input field or on item from his native history dropdown box.

The reason is that I would like to call custom submit button (not first one, which is default) on the enter key pressed on any input field. But right now, the enter key pressed on history dropdown box unfortunately call submit as well.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events