JS 判断数组包含某个字符

//arrDisable 数组  infoType 字符

if($.inArray(infoType, arrDisable))

{

console.log('包含');

}

posted @ 2017-03-27 11:23  微笑代表淡定.Net  阅读(4358)  评论(0编辑  收藏  举报