if(!(to_city_value.indexOf("(")>0){ //code。。。。。 } 转载于:https://www.cnblogs.com/hgj123/p/3725206.html