Selectmenu ignores title attribute
|Reported by:||m_berling||Owned by:||Felix Nagel|
Given the fact that the selectmenu widget is said to "Duplicate(s) and extend(s) the functionality of a native HTML select element to overcome the limitations of the native control", I think it should support the "accesskey" attribute of the original select element to provide the usage of a shortcut key.
Currently I'm using a workaround similar to:
var jSelect = jQuery("#myselect"); jSelect .selectmenu() .siblings(".ui-selectmenu-button") .attr("accesskey", jSelect.attr("accesskey")) .end() .attr("accesskey", "");
NB: Regarding the siblings() method, the above code is correct only in case there is only one selectmenu in the current DOM hierarchy level, of course. (Which, in case of my web application, is always true.)