📅  最后修改于: 2022-03-11 15:03:40.948000             🧑  作者: Mango
transport_select.setAttribute("onchange", function(){toggleSelect(transport_select_id);});
// or
transport_select.onchange = function(){toggleSelect(transport_select_id);};