2011-02-09 54 views

回答

8

设置selectedIndex属性设置为-1:

// Plain JS: 
document.getElementById("myList").selectedIndex = -1; 

// Using jQuery to select the element: 
$("#myList")[0].selectedIndex = -1; 

工作演示:http://jsfiddle.net/n84AW/

+0

超级(Y):) .................. – 2011-02-09 14:25:15

相关问题