jquery判断第一个字符串 使用jQuery判断字符串首字符时,可通过选择器获取字符串内容(如$("input").val()),再用charAt(0)或slice(0,1)提取首字符,结... jquery admin 106 2026-03-04