页面嵌入隐藏iframe实现导出功能
2017-11-09 00:00
369 查看
<div style="display: none"> <form action="" name="exportExcel" id="exportExcel" target="export method="post" accept-charset="utf-8"></form> <iframe name="export" id="export"></iframe> </div>
var f = document.getElementById('exportExcel'); var actionUrl = 'envElecPriceAction!downLoadDetailFrist.action?envElecPrice.beginTime=' + beginTime + '&envElecPrice.endTime=' + endTime + '&envElecPrice.zoneId=' + zoneId + '&envElecPrice.pollSourceId=' + pollSourceId + '&envElecPrice.pollSourceName=' + Ext.getCmp('sourceNameId33').getValue() + '&envElecPrice.labelId=' + Ext.getCmp('groupLabelComboBoxId3').getValue() + '&envElecPrice.polluteName='+ polluteData; f.action = actionUrl; f.submit();
相关文章推荐
- 页面嵌入隐藏iframe实现导出功能
- jQuery实现点击除了特定div的页面其它地方,隐藏该div功能。
- 一种简单方法实现页面导出(Excel)功能
- 使用rapid-framework继承jsp页面实现frameSet,iframe功能
- 通过URL获取html代码实现页面嵌入(代替iframe效果)
- 利用JQuery实现web页面中table导出excel的功能
- 一种简单方法实现页面导出(Excel)功能 选择自 xieyun1977 的 Blog
- WinForm实现页面按钮定时隐藏功能
- bootstrap treeview实现target功能,iframe中打开页面
- 实现购物车结算功能:批量和全部删除,全选和反选,单价和总价,数量增减,页面隐藏和显示
- HTML iframe 实现功能页面动态切换
- JavaScript实现页面元素显示/隐藏的功能
- 实现购物车结算功能:批量和全部删除,全选和反选,单价和总价,数量增减,页面隐藏和显示
- 实现购物车结算功能:批量/全部删除,全选,单价/总价,数量增减,页面隐藏/显示
- 实现购物车结算功能:批量/全部删除,全选,单价/总价,数量增减,页面隐藏/显示
- jquery 点击页面其他地方实现隐藏菜单功能
- 如何实现页面上的超链接指向这个嵌入的网页?/ IFRAME标签的使用。
- 在页面中,我们经常看到,一个button按钮,如果属标点击,就会触发一个窗口的显示,如果二次点击并可以隐藏,那么如何通过JAVA配合html来实现这一功能呢?
- 多框架 跨页面调用jsp过程,实现功能导航树的隐藏
- java实现页面excel导出功能