jquery 获取select选中的值

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

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

posted @ 2013-08-20 10:55  醉洒脱  阅读(189)  评论(0编辑  收藏  举报