HTML chrome:// page with select box, onChange failing
Posted
by
Noitidart
on Stack Overflow
See other posts from Stack Overflow
or by Noitidart
Published on 2014-08-24T10:18:24Z
Indexed on
2014/08/24
10:19 UTC
Read the original article
Hit count: 196
firefox-addon
I have a html page. It is chrome://. I have a select box. Giving it the oncommand attribute won't work. So I have to use onchange however you have the typical problem with onchange where it doesnt work if user uses the keyboard arrows, or letters of items to change things.
Is there anyway to attach onCommand to my select box? I want to avoid to use onkeyup as then i have to to validation to see if it really changed (which would require me saving previous values).
© Stack Overflow or respective owner