Domanda

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?

È stato utile?

Soluzione 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); }');

Altri suggerimenti

Here are some reasons:

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top