<!--快速获取select选中值--> <select id = 'tagName'></select> var tag = $("#tagName option:selected"); msg = tag.text(); alert(msg);