// 綁定 change 事件
$("#select_id").on("change", function() {
var text = $(this).find("option:selected").text(); // 顯示文字
var value = $(this).val(); // value 值
var index = this.selectedIndex; // 原生索引
var maxIndex = $(this).find("option:last").prop("index"); // 最後索引
});