Object doesn't support property or method WebBrowser Control

前端 未结 3 1164
轮回少年
轮回少年 2020-12-16 15:44

I have developed a mobile app (in asp.net) and I am using a WinForms application with the WebBrowser control to demo it.

I my main page I am using a script to hide t

3条回答
  •  暖寄归人
    2020-12-16 16:17

    I know that this problem is from 2012 but there is an answer for it.

    At the top of the document where script is added you need to write

    
    

    WinForms WebBrowser control is using Internet Explorer but you need to force the latest version there. For eg. if you are using jQuery 2+ it requires IE 9+ so you need to use at least version 9 or later.

提交回复
热议问题