这里我试图调用onclick函数来加载数据表中的数据,重新加载数据表给出错误,如“TypeError:i [k]未定义”。
function getAdvanceSearch()
{
var $table=$('#MSRRes').dataTable( {
"bFilter": false,
"bDestroy": true,
"bDeferRender": false,
"bJQueryUI": true,
"oTableTools": {
"sSwfPath": "swf/copy_cvs_xls_pdf.swf",
},
"sDom": 'TC<"clear">l<"toolbar">frtip',
"ajax" :{
url: 'getResult.php',
type: "POST",
data: {
formData:postData,
}
},
"aoColumns": aryJSONColTable
});
}