javascript - Select an option without changing the dropdown's value -
is there possibility select option while dropdown open, without having close , change select's value? higlighting it, chosen when tabbing out.
visibly same navigating through options arrow-keys while having select opened.
jquery welcome :)
workarounds welcome :p
to clear:
<select> <option>option 1 (a)</option> <option>option 2 (b)</option> <option>option 3 (c)</option> </select>
i need select specific option pressing char that's in brackets.
in browsers, default behavior when letter @ beginning of label instead of end, might try that.
otherwise, might add class option should "highlighted", use css style class want. want remove class options on mouse move or keydown dual highlighting (native plus css) isn't confusing. don't know if can use css remove native highlighting altogether, nice. it's matter of setting value correctly when select element loses focus, trivial.
Comments
Post a Comment