<select id="xx" onchange="getPlatfromValue(this.options[this.options.selectedIndex].value)">
</select>
function getPlatfromValue(val) {
//val即为选中项的值
}
<select id="xx" onchange="getPlatfromValue(this.options[this.options.selectedIndex].value)">
</select>
function getPlatfromValue(val) {
//val即为选中项的值
}