<select id="lstTest" οnfοcus="this.defaultIndex=this.selectedIndex;" οnchange="this.selectedIndex=this.defaultIndex;"> <option value="1">test1</option> <option value="2">test2</option> <option value="3" selected="selected">test3</option> <option value="4">test4</option> <option value="5">test5</option> </select>
转载于:https://www.cnblogs.com/CuiHongYu/p/9600416.html