插入
无法换行
for (var i = 0; i < tpaths.page.recordCount; i++) {
var arr = tpaths.attractionsList[i];
// 加入复选框
var checkBox = document.createElement("input");
var br = document.createElement("br");
checkBox.setAttribute("type", "checkbox");
checkBox.setAttribute("id", arr.id);
checkBox.setAttribute("name", "checkbox");
checkBox.setAttribute("title", arr.title);
var td = document.createElement("td");
td.appendChild(checkBox);
td.appendChild(document.createTextNode(arr.title));
tr.appendChild(td);
tr.appendChild(br);
}