Page 1 of 1

tiagra calendar: mvc onchange event

PostPosted: Thu Sep 19, 2013 10:07 am
by joseph_doggie
Per discussion at http://www.softcomplex.com/forum/viewthread_5416/ I tried adding the following to

function f_tcalCancel () :

// right before end of function

if (a_inputs[n].onchange) {
a_inputs[n].onchange();

However, in VS2012 debugger I get:
0x800a138f - Microsoft JScript runtime error: 'onchange' is null or not an object

I was wondering if there is anyone who knows how to make this work so that an onchange fires for MVC.

NOTE: I am using VS2012, Windows 7, MVC 4, and ie10 if that combination matters ....

Thanks in advance!