var selectVal = $.trim(obj.selectedOptions[0].value);
換成
var selectVal = $.trim(obj.options[obj.selectedIndex].value);
博客園 © 2004-2025 浙公網安備 33010602011771號 浙ICP備2021040463號-3