jquery判断字符串中是否包含特定字符的方法总结 方法一:使用indexOf() 和lastIndexOf()方法 案例: indexOf用法: 注意: 方法二:使用test() 方法 实例:在下面 ...