//创建模拟提交formfunction dataExport(option) { var form = $("<form method='get'></form>"); if (option === undefined || option === null) { console.log("需要设置必须参数"); return; } form.attr("action", option.url); var data = o
模拟post提交 function post(URL, PARAMS) { var temp = document.createElement("form"); temp.action = URL; temp.method = "post"; temp.style.display = "none"; for (var x in PARAMS) { var opt=document.createElement("input");