代码: function GetMultiLineSelectTable(tableId, selectIds) { var table = $(tableId); var url = table.data('url'); var ischeckbox = false; //获取数据项名称 var fileds = new Array(); table.children('thead').children('tr').children('th').each(function (index, el
封装好的:ajax.js function ajax(url, fnSucc,fnFaild){ //1[创建] if(window.XMLHttpRequest){ var oAjax = new XMLHttpRequest(); }else{ var oAjax = new ActiveXObject("Microsoft.XMLHTTP"); }; //2: [连接]true:表示异步 oAjax.open('GET',url,true); //3:[发送] oAjax.sen