js加载局部页面
document.getElementById("main").innerHTML = '<object type="text/html;" data=' + data + ' width="100%" height="600rem"></object>';
var url = data; //被加载的页面url
$("#main").load(url, null, function () { });
//var form = document.createElement('form');
//var form = document.getElementById("form1");
//form.action = obj[0].TempDocHtml;
////form.target = '_blank';
//form.method = 'GET';
//document.body.appendChild(form);
//form.submit();
再三须慎意,第一莫欺心