简体   繁体   中英

ie9 Error: 'Blob' is undefined

this http://jsfiddle.net/bCRm3/17/

(Kendo grid export to csv)

works fine in firefox, chrome and IE11

in ie9 im getting

            blob = new Blob([csv], { type: 'text/csv;charset=utf-8' }); //Blob.js
            saveAs(blob, fileName); //FileSaver.js

'Blob' is undefined show, line 141 character 17

is there a way around this for ie9? (im not sure if this works on ie10)

Check Blob object browser compatibility:

Browser compatibility

 Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit) 20 13.0 (13.0) 10 12.10 6 (536.10) 

Please note that this is not supported by all browsers including IE9 or ealier:

https://developer.mozilla.org/en-US/docs/Web/API/Blob

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM