ドロップダウンにカスタム jQuery を使用しました。現在、ドロップダウンのキーボード アップおよびダウン イベントの Mozilla を除くすべてのブラウザで正常に動作します。
ドロップダウン キーボード イベントに次のスクリプトを使用しました。
$(document).ready(function(){
if (!$.browser.opera) {
$('select.selectlistbig').each(function(){
var title = $(this).attr('title');
if( $('option:selected', this).val() != '' ) title = $('option:selected',this).text();
$(this)
.css({'z-index':10,'opacity':0,'-khtml-appearance':'none'})
.after('<span class="selectlistbig">' + title + '</span>')
.change(function(){
var val = $('option:selected',this).text();
$(this).next().text(val);
})
});
$('select.selectlistbig').keypress(function (e) {
if(e.keyCode == 37 || e.keyCode == 38 || e.keyCode == 39 || e.keyCode == 40 )
{
var val = $('option:selected', this).text();
$(this).next().text(val);
}
});
});
助けて。
ありがとうございました