我想创建这样的向导页面:
http://i39.tinypic.com/14v0k9h.jpg
现在我想从另一个页面完成这些步骤。
这是下一步的代码:
function NextRow() {
var tbl = document.getElementById("tbl1");
while (count < tbl.rows.length) {
if (tbl.rows[count].bgColor != "lightblue") {
tbl.rows[count].bgColor = "lightblue";
tbl.rows[count].innerHTML = "<td>step " + (count + 1) + "</td>";
var dv = document.getElementById("dvText").innerText = tbl.rows[count].title + " ";
if (count >= 0) {
tbl.rows[count - 1].bgColor = "white";
tbl.rows[count-1].innerHTML = "<td></td>";
}
}
count++;
break;
}
}