문제

IE10 do not get ActiveX events using Standard document mode, on previous versions of IE same control fires events, and IE is notified when they are triggered.

I use a code with this pattern to handle the events: 'alert(true);'

'true' is only alerted when using IE9 and lower Document Modes

Any ideas?

도움이 되었습니까?

해결책 2

Found a solution that worked for me in here: http://social.msdn.microsoft.com/Forums/ie/en-US/34a8d6e5-c14a-48ef-af49-a9f970697564/are-activex-control-events-still-supported-in-ie10-standards-mode?forum=ieextensiondevelopment

It demonstrates using 'eval':

eval('function ActivexID::OnLoad(msg) { alert(msg); }');

다른 팁

Here are some reasons:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top