jQuery Is Unavailable or Undefined
Environment
Product | Progress® Kendo UI® for jQuery |
Kendo Version | 2017.2.621 |
Description
When working with Kendo UI, an error that jQuery is unavailable or undefined occurs.
Cause
The possible causes for this issue are:
- jQuery is not included in the project files.
- jQuery is included after the Kendo UI JavaScript files.
- jQuery is included after the Kendo UI widget initialization statements.
As a result, the Kendo UI widgets do not function as expected.
Error Message
- (In Google Chrome and Firefox)
ReferenceError: jQuery is not defined
- (In Internet Explorer)
jQuery is undefined
Solution
Make sure that jQuery is included only before the Kendo UI JavaScript files and before any JavaScript statements that depend on it.