jquery 获取select选中的值

获取选中的名称:$("#selectPinType option:selected").text();

获取选中的值:$("#selectPinType option:selected").val();

原文地址:https://www.cnblogs.com/gaoyinghui/p/3269747.html