Closed apei830 closed 11 years ago
searchForm.find(".btn-clear-search").click(function() {
/* 下面turnSearch已经清空了form参数,这段没必要加隐藏的reset按钮了 if (table.data("async") == true) { var resetBtn = searchForm.find("input[type='reset']"); if(!resetBtn.length) { searchForm.append(""); resetBtn = searchForm.find("input[type='reset']"); } resetBtn.click(); } */ turnSearch(table, searchForm, true); });
我不怎么会用gitcheck out代码,到时候周末学学,呵呵
ok
searchForm.find(".btn-clear-search").click(function() {
/* 下面turnSearch已经清空了form参数,这段没必要加隐藏的reset按钮了 if (table.data("async") == true) { var resetBtn = searchForm.find("input[type='reset']"); if(!resetBtn.length) { searchForm.append(""); resetBtn = searchForm.find("input[type='reset']"); } resetBtn.click(); } */ turnSearch(table, searchForm, true); });
我不怎么会用gitcheck out代码,到时候周末学学,呵呵