解决方案 »
- js 中的写法(function)(document)怎么解释?
- 网页中右边是视频,播放到某一片段时左边的图片会跟着刷新,求解~
- 如何用下键代替tab和shift+tab??
- jquery的flexigrid插件问题:动态改变表格宽度
- 新人问题,为什么在onclick="return false"中加入函数,它就会跳转,不加就不跳
- 高分求!!!如何用注册表修改IE的安全级别????
- 怎样可以查看指定页的客户端源代码?
- document后面为什么要加.all?
- opener的使用方法!!
- 孟兄请进,有个问题??怎样屏蔽掉ie的后退按钮,就是使他变灰
- 这种JSON的格式如何处理?
- 怎么能用js误导搜索蜘蛛,让蜘蛛看不到真实网站呢?
Internet Explorer 8: Microsoft has limited its support to certain "non-navigable" content for security reasons, including concerns that JavaScript embedded in a data URI may not be interpretable by script filters such as those used by web-based email clients. Data URIs must be smaller than 32 KiB.
"Data URIs are supported only for the following elements and/or attributes:
object (images only)
img
input type=image
link
CSS declarations that accept a URL, such as background, backgroundImage, and so on." -MSDN[4]
我上面的是不是不是link才不支持
var d=window.open('','globalexcelTmpIframe');
d.document.writeln('data:application/vnd.ms-excel;base64,'+Base64.encode(grid.getExcelXml()));