function bindTable() {
var eles = document.querySelectorAll(".fox_actionsheet");
for (var i = 0; i < eles.length; i++) {
eles[i].onclick = hide;
}
eles = document.getElementsByClassName("fox_table")
for (var i = 0; i < eles.length; i++) {
eles[i].onmousedown = tableMouseDown;
eles[i].rowSel = -1;
eles[i].colSel = -1;
if (eles[i].hasAttribute("data-pagenumber")) {
eles[i].pagenumber = eles[i].attributes["data-pagenumber"].value;
}
}
eles = document.getElementsByClassName("weui_mask_transition");
for (var i = 0; i < eles.length; i++) {
eles[i].addEventListener("transitionend", hideActionMask);
}
}
凡是动态查询返回页面的都调用一下这个函数
function xzsqd(){
var result = submitAjaxForm(\'form1\',\'\',false);
document.getElementById("p1").innerHTML=result;
bindTable();
}