Trouble with onChange event

Add-in Express™ Support Service
That's what is more important than anything else

Trouble with onChange event
 
David Sickmiller




Posts: 5
Joined: 2011-08-15
Hi,

I've configured an onChange event handler with SupportedEvents set to InputFile, InputText, and TextArea (and Document and Form for other reasons). I'm running into two problems, at least in IE9.

First, when onChange is called for an InputText or TextArea element, the eventObject parameter is null. This means my handler cannot query which element changed. I did see in MSDN that there is both a HTMLInputTextElementEvents::onchange event without an event object (http://msdn.microsoft.com/en-us/library/aa753225%28v=VS.85%29.aspx) and an HTMLInputTextElementEvents2::onchange event with an event object (http://msdn.microsoft.com/en-us/library/aa753155%28v=VS.85%29.aspx). Maybe Add-In Express is binding to the less useful version?

Second, the onChange handler isn't even being called when I change an InputFile element.

Thanks,
David
Posted 20 Sep, 2011 23:33:00 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Hi David,

I can't reproduce the issue. What the Url do you use for testing?
Posted 21 Sep, 2011 06:57:47 Top