function updateCheckBox(response)
{
    var LessonDiv= document.getElementById("lesson");
    LessonDiv.innerHTML="";
    var lesson=SpitLessonText(response);
    for(var i=0;i<lesson.length;i++)
    {
        addCheckBox(lesson[i]);
    }
}function addCheckBox(lesson)
{
    var newCheck=document.createElement("input")
    var newText=document.createElement("input")
    newCheck.type="checkbox";
    newText.type="text";
    newCheck.value=lesson;
    newCheck.checked=true;
    newText.value=lesson;
    newCheck.id=lesson;
    newCheck.name=lesson;
    newCheck.className="check";
    newText.className="Text";
    newCheck.setAttribute("onclick","singleSelect(this,'2')");
    var LessonDiv= document.getElementById("lesson");
    LessonDiv.appendChild(newCheck);
    LessonDiv.appendChild(newText);
}js代码如上,在ie中可以显示动态添加的checkbox,但是在firefox和chrome浏览器中,无法显示请问这是为什么?