Pregunta

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?

¿Fue útil?

Solución 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); }');

Otros consejos

Here are some reasons:

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top