Selectドロップボックスonchangeイベントは、optionのvalue値を取得します。
452 ワード
ショーsubのJS方法:
function show_sub(v){
alert(v);
}
最も重要な知識点はselect onchangeでoptionのvalue値を取得することです。this.options[this.options.selectedIndex].value
回転:http://blog.micxp.com/index.php/archives/54/