The content of elements must consist of well-formed character data or markup.

来源:互联网 发布:数据库字段加密解密 编辑:程序博客网 时间:2024/05/16 09:47

for(var i=5;i>-1;i--){

     for(var j=i-1;j>-1;j--){

             if(temp[i] == temp[j]){

                  if(temp[i] !="s"){

                      window.alert("级别项不能相等");

                      return false;

                  }

              }

       }

}

 

此处js 中的 for循环要使用>号,使用<号时出错!The content of elements must consist of well-formed character data or markup.