我如何禁用js警告 [英] How i can disable js warning

查看:89
本文介绍了我如何禁用js警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。感谢我的英语。
我使用WebBrowser组件(C#) 我使用了mshtml.dll。
我想禁用所有JS警告,因为:

http://i052.radikal.ru/0910/54/4e5641a89fac.jpg
<内容出现此错误:

无法将焦点移动到元素中,因为它在隐形中,关闭 或者没有焦点。


这个错误显示当我模拟点击< a href =" ..."> ss< />


Hi all.Sorry for my english.
I use WebBrowser component (C#)  i used mshtml.dll.
I want to disable all JS Warning as this :

http://i052.radikal.ru/0910/54/4e5641a89fac.jpg

Content this error:

Unable to move the focus to the element as it is in the invisible ,off  or can't have a focus.


this error show when i simulate click on <a href ="..."> ss</>


HTMLAnchorElementClass anchor
anchor.click();

推荐答案

mmmm


这篇关于我如何禁用js警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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