草庐IT

unturedtypyerror

全部标签

&&不工作和unturedtypyerror:无法读取未定义的“检查”属性

此示例有效,但给出了“未定义的'typeError:无法读取'不确定的“检查”属性”但不与&合作两个if语句的属性如果(x==true)&&if(j==“正确”)functionmyFunction(){varquestion=document.getElementById("question-1");varoptions=question.getElementsByTagName("input");for(vari=0;iWhatisaComputerBug?AnerrorAMoth看答案利用i代替i因为options.length是2。如果您使用=然后它将迭