insertCell 设置样式

    技术2026-05-02  2

    var newCell=newRow.insertCell(index++);//newRow为insertRow的一行   newCell.id= "td1";   newCell.className="样式名称";//或者newCell.setAttribute("class","样式名称");

    最新回复(0)