<!DOCTYPE html><html><head> <title></title></head><script type="text/javascript"> function search(str1,str2) { var i=j=k=a=jk=kk=0; var m=str1.length; var n=str2.length; var index=0; var maxlen=0; var st
js判断字符串str是否包含字符串substr: function addUser(id,realName){ var userids = $("#userids").val(); if (userids!=""&&userids!=null) { if (!isContains(userids,id)) { userids = userids + id + ","; } }else{ userids = id + ",