------------------------------------------------------------------------------------------------
这是html文件
View Code
1 2 3 4 5 11 12 13298 299 347 348引擎POST数据测试页面
14
修改处:
View Code
1 $(function(){ 2 $("#export").click(function(){ 3 formSubmit('report.export.pt',{ 4 type:3, 5 pageid:$("#pageid").val(), 6 content:$("#content").val(), 7 all:false 8 }); 9 });10 $("#exportAll").click(function(){11 formSubmit('report.export.pt',{12 type:3,13 content:$("#content").val(),14 all:true15 });16 });17 $("#bigview").click(function(){18 var fm = $("#form");19 fm.action = 'report.docPreview.pt';20 fm.submit();21 /*formSubmit('report.docPreview.pt',{22 pageid:$("#pageid").val(),23 content:$("#content").val()24 });*/25 });26 });
------------------------------------------------------------------------------------------------
按一下方式修改其内容:
未修改前:
$("#bigview").click(function(){ formSubmit('report.docPreview.pt',{ pageid:$("#pageid").val(), content:$("#content").val() });}
------------------------------------------------------------------------------------------------
$("#bigview").click(function(){ var fm = $("#form"); fm.action = 'report.docPreview.pt'; fm.submit();}
------------------------------------------------------------------------------------------------