3
嗨,我用以下代碼保存畫布。window.location.href在IE9下不工作
var img = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");
window.location.href = img;
但IE9不起作用。無法打開數據:image/octet-stream; base64,iVBORw0KGgoAAAANSUhEUgAAB4AAA .....
我該如何讓它在IE9下工作? 感謝您的幫助...
可能重複:http://stackoverflow.com/questions/7405345/data-uri-計劃和互聯網瀏覽器9錯誤 – Chad 2013-04-05 13:58:53