tiagra calendar: mvc onchange event

Discuss here any JavaScript DHTML challenges not necessarily related to products of Softcomplex

tiagra calendar: mvc onchange event

Postby joseph_doggie » Thu Sep 19, 2013 10:07 am

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!
joseph_doggie
 
Posts: 1
Joined: Thu Sep 19, 2013 9:58 am

Return to JavaScript Discussions

cron