[求助] 字符串包含运算符是什么... ...
爽! 多谢啊!为了实现这个功能,我写了如下语句
if (document.form2.nickname.value == "站长"||document.form2.nickname.value == "总站长"||document.form2.nickname.value == "管理员"||document.form2.nickname.value == "程序员"||document.form2.nickname.value == "技术员")
简直要昏了!~~~~~~ 能否解释一下 indexof("xx")==-1 是什么意思啊!