problem when keyboard used"/>

password:   :: lost password

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

  •   Subject
  • Author
  • Posted on

I am writing (HTML/CSS/JavaScript) a website with page on which its contents
depends on the selection of some drop-down list. I implemented this
functionality using <select ... onchange="someFunction();">. The problem is
that drop-down list item selection with keybooard behaves in a different
way depending on the browser I use:

In Mozilla, IE, Epiphany: someFunctions() is not called on Arrow Up/Down
keys, ENTER needed.
In Opera, Konqueror: someFunction() is called on Arrow Up/Down keys, ENTER
not needed.

QUESTION: Can I have someFunction() called in all popular browsers?

I consider using radio button group instead of drop-down list, but I don't
like this idea because items list is quite long.

Please help. Thank you.

Re: problem when keyboard used

R.A.M. wrote:
Quoted text here. Click to load it

   I've never had a problem with that, but I suppose you could use onkeyup

Quoted text here. Click to load it

Site Timeline