舊式做法是將selectedIndex 設為0 自jQuery 1.6 開始支援使用.prop() 這支API 來操作selectedIndex HTML 1 2 3 4 5 6 <select id="name"> <option ...
確定! 回上一頁