var html = "<table id='datatablename' class='tableCss' style='width:100%'><div style='overflow-y:scroll;height:300px;'>";
html += "<tr><th>中文列名</th><th>英文列名</th><th>选择</th><th>筛选条件</th><th>重命名列</th></tr>";
for (var i = 0; i < field.length; i++) {
if (field[i].DisPlayName == tableArrayCN) {
html += "<tr>";
html += "<td style='width:150px;'>" + field[i].TableFieldCN + "</td>";
html += "<td style='width:150px;'>" + field[i].TableFieldEN + "</td>";
html += "<td style='width:80px;text-align:center;'><input type='CheckBox' id='" + field[i].TableName + "' value='" + field[i].TableFieldEN + "' fieldtype='" + field[i].FieldType + "'/></td>";
html += "<td style='width:130px;text-align:center;'><input type='text' id='" + field[i].TableName + "'/></td>";
html += "<td style='width:130px;text-align:center;'><input type='text' id='rename" + field[i].TableName + "'/></td>";
html += "</tr>";
}
}
html += "<tr><td colspan='5' align='left'>";
html += "<a id='selectall' href='#'>全选</a><a id='selectnone' style='padding-left: 15px' href='#'>全不选</a><a id='selectinvert' href='#' style='padding-left: 15px'>反选</a>";
html += "</td></tr>";
html += "</div></table>";
var choose = tableArrayCN + "(筛选条件:空、=、!=、<、>、<=、>= 日期格式:2011/09/09)";
var conall = ""; //保存附加语句
var strall = ""; //保存查询语句
var lineall = ""; //保存所有列名
var conCN = "";
ShowMsg(html, 800, choose, function () {
.....}
不知道哪出错了
------解决方案--------------------
field是啥 哪来的?
再者 先不说错在哪 楼主代码的性能太低了~~~
------解决方案--------------------
楼主加个debugger;试试!!