1697 次
2 に答える
0
これを試して:
$('#select_box').change(function(){
sort_using = $(this).attr('value'); // current value
// call your sort function with this `sort_using`
sortTable(sort_using);
});
function sortTable(foo) {
//your code
}
于 2012-05-22T18:44:36.877 に答える
0
select要素を離れるたびにonblurイベントが発生するため、同じオプションを選択すると、それが発生します。
于 2012-05-22T19:19:33.337 に答える