Hi all. Been struggling with this one for a while. Does anyone know of a way to trigger select elements dropdown expansion by JavaScript as if you had clicked on the object?
Basically I have an Ajax service call which should trigger on change, which works well for mouse users, but keyboard users pressing the down arrow fires constant requests as each keypress is a change event. This slows the screen and puts extra load on the backend.
I have a solution which on keydown or keyup puts a layered div below the select which basically fakes the dropdown expansion, but its messy and not reliable.
Any thoughts as to how to trigger the dropdown to expand? Been searching this for a while but can't find anything.
Any suggestions appreciated. FYI, firing the onclick event does not seeem to do it but open to suggestions.
Thanks
Dave