SyntaxFix
Write A Post
Hire A Developer
Questions
Add
transport_select.setAttribute("onchange", function(){toggleSelect(transport_select_id);});
setAttribute
or try replacing onChange with onchange
onChange
onchange