1.根据name $("select[name='deptId'] option:selected").val(); 2.根据id var hos = $("#hospitalId option:selected").val();