__doPostBack不是在ie11中触发,而是在Chrome中触发 [英] __doPostBack not firing in ie11 but firing in chrome

查看:101
本文介绍了__doPostBack不是在ie11中触发,而是在Chrome中触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的任务是将div内容导出到图像我正在使用此脚本

my task is export div contents to image i am using this script

function ConvertToImage(btnExport) {
    html2canvas($("#<%=exportimage.ClientID %>")[0]).then(function (canvas) {
      var base64 = canvas.toDataURL();
      $("[id*=hfImageData]").val(base64);
      __doPostBack(btnExport.name, "");
    });
    return false;
}

__ doPostBack不是在ie11中触发,而是在chrome中工作.请给我建议如何修复ie 11中的回发

__doPostBack not firing in ie11 but its working in chrome. plz suggest how can i fix postback in ie 11

推荐答案

我将服务器添加到IE浏览器的工具->可比性视图设置"中,并且我的链接再次开始工作

I added the server to the "Tools -> Comparability View Settings" in the IE browser, and my links started working again

这篇关于__doPostBack不是在ie11中触发,而是在Chrome中触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆