We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve the “Exception: Object does not support property or method on incorrect reference of jQuery”?


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.

<link href="@Url.Content("~/Content/ej/web/Default-theme/ej.widgets.all.min.css")" rel="stylesheet" />

    <script src="@Url.Content("~/Scripts/jquery-1.10.2.min.js")"></script>

    <script src="@Url.Content("~/Scripts/jsrender.min.js")"></script>

    <script src="@Url.Content("~/Scripts/jquery.easing-1.3.min.js")"></script>

    <script src="@Url.Content("~/Scripts/jquery.globalize.min.js")"></script>

    <script src="@Url.Content("~/Scripts/ej/ej.web.all.min.js")"></script>

    <script src="@Url.Content("~/Scripts/ej/ej.unobtrusive.min.js")"></script>


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.

Article ID: Published Date: Last Revised Date: Platform: Control:
5156 06/15/2015 06/15/2015 JavaScript ejDigitalGauge
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon