我从Mustache.to_html调用中获取结果,但结果(显示在表中)以错误的方式排序。有没有办法改变它?
var result = Mustache.to_html(template, response);
$("#resultTable").html(result);
更多"详细":
function GetDataFirst() {
var sCustomerNo = $("#tbCustomerNo").val();
var url = "/Credit/GetData?customerno=" + sCustomerNo;
GetJson(url, SetDataComplete);
}
function SetDataComplete(response) {
var tpl = $("#CustomerData").html();
var result = Mustache.to_html(tpl, response);
$("#resultTable").html(result);
}