Search jqgrid-向cfc发送搜索结果

Search jqgrid-向cfc发送搜索结果,search,jqgrid,coldfusion,Search,Jqgrid,Coldfusion,嗨,我正在使用自定义按钮将搜索结果发送到服务器。 在FF和Chrome中效果很好。在Internet Explorer中,网格会更新以反映搜索结果,但从服务器返回的结果总是相同的。它们实际上始终与第一次搜索的结果相同。我猜筛选条件$grid[0].p.postData.filters在发送到服务器之前没有得到更新 $grid.jqGrid('navButtonAdd', '#pager', {caption: "", buttonicon: "ui-icon-copy", title

嗨,我正在使用自定义按钮将搜索结果发送到服务器。 在FF和Chrome中效果很好。在Internet Explorer中,网格会更新以反映搜索结果,但从服务器返回的结果总是相同的。它们实际上始终与第一次搜索的结果相同。我猜筛选条件$grid[0].p.postData.filters在发送到服务器之前没有得到更新

      $grid.jqGrid('navButtonAdd', '#pager', {caption: "", buttonicon: "ui-icon-copy", title: "Export",
      onClickButton: function() {
          $.post("scripts/scraprecords.cfc?method=getRecordsExcel&returnFormat=json", {_search:$grid[0].p.search, filters:$grid[0].p.postData.filters}, function(res) {
            var h = "<a href='temp/"+res+"'><img src='images/download-button.png' border='0'></a>"
            var $dialog = $('<div align=center></div>')
                .html('Your Report has been generated.<br>'+h)
                .dialog({autoOpen: true,title: 'Information',closeText:'hide',show:'slide',modal: true});
            },"json");
      }
  });
$grid.jqGrid('navbuttonad','#pager',{标题:,按钮图标:“ui图标复制”,标题:“导出”,
onClickButton:function(){
$.post(“scripts/scraprecords.cfc?method=getRecordsExcel&returnFormat=json”,{u search:$grid[0].p.search,过滤器:$grid[0].p.postData.filters},函数(res){
var h=“”
变量$dialog=$('')
.html('您的报告已生成。
'+h) .dialog({autoOpen:true,title:'Information',closeText:'hide',show:'slide',model:true}); }“json”); } });
任何帮助都将不胜感激,
标记

查看前面关于jqGrid和IE缓存的讨论


发送到服务器的数据是正确的。Internet Explorer正在缓存下载的文件。