[Jquery]設定下拉選單的初始值 Nov 30th, 2011 | Comments 1 2 3 4 5 <select id ="selectbox"> <option value="google">google</option> <option value="yahoo">yahoo</option> <option value="bing">bing</option> </seltion> 1 $('#selectbox option[value=google]').attr('selected','selected');