Copy code code as follows:
var obj = document.GetelementByidx_x_x ("TestSelect"); // Positioning IDVAR INDEX = Obj.selectIndex; // Select index var text = obj.Options [index] .text; lue = obj.options [index ]. Value; // Select the selected value in jQuery to get selected select value. (); // The value of the selected $ ("#testselect") .get (0) .selectindindex; // Index the second way of method $ ("#tesetselect"). Find ("option: selectd"). ; // Select the text ....val (); ... .get (0) .selectEdex;