測試瀏覽器:ie8(兼容和不兼容模式),ff6。
復制代碼 代碼如下:
var chk = document.createElement("input");
chk.setAttribute("type","checkbox");
container.appendChild(chk);
chk.setAttribute("checked",true);
復制代碼 代碼如下:
var chk = document.createElement("input");
chk.setAttribute("type","checkbox");
chk.setAttribute("checked",true);
container.appendChild(chk);
新聞熱點
疑難解答
圖片精選