<select multiple="multiple" size="20" style="width:200px" id="tester">
<option>123</option>
<option>123</option>
<option>123</option>
<option>123</option>
<option>123</option>
</select>
用jquery将多选表单中的所有项选中:
$("#tester option").attr("selected","selected")');