var random = parseInt(Math.random()*arr.length); for(var i = 0; i <p style="white-space:pre-wrap; line-height:1.75; font-size:14px">*(找到对象,多个lis,遍历出来,清掉所有人,lis[i]的i的数字随机赋值样式)</p><p style="white-space:pre-wrap; line-height:1.75; font-size:14px">关于排他,前面的去空和后面的赋值,一定要属性一模一样,不然没用!!!</p><p style="white-space:pre-wrap; line-height:1.75; font-size:14px">排他</p><p style="white-space:pre-wrap; line-height:1.75; font-size:14px">1第一层用来控制所有的input对象</p><p style="white-space:pre-wrap; line-height:1.75; font-size:14px">2点击其中的一个input触发事件</p><p style="white-space:pre-wrap; line-height:1.75; font-size:14px">3干掉所有的人for""</p><p style="white-space:pre-wrap; line-height:1.75; font-size:14px">4复活我自己this.""</p><p style="white-space:pre-wrap; line-height:1.75; font-size:14px">假设全选都是true,顶上的那个true;</p><p style="white-space: pre-wrap; line-height: 1.75; font-size: 14px;">input[i]遍历之后的选择有一个false, 全是的那就是false,上面的没有</p>










