【发布时间】:2016-09-04 15:48:46
【问题描述】:
如何更改变量值?,我尝试使用“Promises”,但它不起作用,它给了我一个错误,我正在尝试在表上加载数据
/* Formating function for row details */
function fnFormatDetails(oTable, nTr) {
var aData = oTable.fnGetData(nTr);
var sOut ='';
$.post("http://localhost:3000/almuerzo/findIng", {
nombre: aData[1]},
function(data, status){
sOut = '<ul>';
sOut += data.nombre;
sOut += '</ul>';
});
return sOut;
}
正如我所说,当我尝试使用 promises de “datable.tabletools plugin”失败时,说“show”有错误
【问题讨论】:
-
你得到什么错误?
标签: javascript jquery datatables