jQuery( function($){
$.addCallback("html", function(){
if(this.length == 1 && argument.length > 0 && "string" === typeof(arguments[0 ])){
if(/
/i.test(arguments[0].replace(/n/g))){
console.log("斑马表");
$("table:not(table.notZebra): tbody tr:odd", this).addClass("zebra");
}
}
})
$.addCallback("html", function(){console.log("回调2");});
$.addCallback("html", function(){console .log("回调 3");});
$("#queryResults").html(
Mustache.to_html($("#dataTable").html())
); 🎜>});