var oSel=oFl.getElementsByTagName('select')[0];
oSel.onchange=function(){
    var indexselect=oSel.selectedIndex;
    var valselect=oSel.options[indexselect].innerHTML;
    alert(valselect);
  }

posted on 2014-04-10 14:39  冰~ice  阅读(352)  评论(0编辑  收藏  举报