解决方案 »

  1.   

     <select id="sel_1" onchange="test(this)">  不要太在意细节
      

  2.   

    $("option:selected",obj).text()
    你的obj是选择器字符串还是dom对象啊?
      

  3.   

    如果你仅仅想取值js就可以做到
    取value值:obj.options[obj.options.selectedIndex].value
    取text值:  obj.options[obj.options.selectedIndex].text
    jquery方式
    取value值:$("select option:selected")或者就是你这种写法$("#" + objId + " option:selected")都可以取到被选中对象
    至于这种写法$(obj + " option:selected")实际是选择器不支持你这种写法没有过多解释。
      

  4.   

    alert($(obj).find("option:selected").text());//这样写