select 获取选中option的值方法,选中option方法
options=$("#Select option:selected");
options.attr('name');
options.val();
options.text();
$('#department').find("option:contains('xx')").attr("selected",true);
$("#deptSelect option[value='" + userDept + "']").attr("selected", true);