When the necessary scripts’ reference order is changed or when the jQuery is referred more than once, the exception, “object does not support property or method” occurs. This is because the scripts’ reference is dependent on some other scripts, and when the order is changed, the dependant function or methods may not work properly, throwing the exception.
For example, when you refer to the jsrender.min.js before the jQuery.1.10.2.min.js, this throws the exception, “Object does not support property or method ‘template’” because the jsrender requires the jQuery reference.
You can overcome this issue by adding the necessary script reference in the proper order. Use the following order to refer to the necessary scripts.
Make sure that the jQuery script is not referred once again after the ej.web.all.min.js reference. Refer to the following code example.
This page will automatically be redirected to the sign-in page in 10 seconds.