$(document).ready(function () $ is not defined
This says that, missing jQuery source.
You should add jQuery source between head tags:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js">
References must be in head tag following order:
<head>
<title></title>
<link rel="stylesheet" href="styles/kendo.common.min.css" />
<link rel="stylesheet" href="styles/kendo.default.min.css" />
<link rel="stylesheet" href="styles/kendo.default.mobile.min.css" />
<script src="js/jquery.min.js"></script>
<script src="js/kendo.all.min.js"></script>
</head>
![Hassan Abbas](https://i.stack.imgur.com/HVP35.jpg?s=256&g=1)
Hassan Abbas
Blockchain Consultant | AI | Data Science | HyperLedger | MEAN | MERN As a tech visionary, I strongly believe and foresee the unfolding potential that AI, Data Science and Blockchain hold for growth and development of businesses. I have the eye to transform business processes with a futuristic perspective that helps organisations harness these disruptive technologies.
Updated on July 09, 2022Comments
-
Hassan Abbas almost 2 years
I'm working on asp.net mvc and using Kendo UI grid control for data retrieving, using these functionality for another application working fine problem not in code. All JavaScript and Kendo grid ui reference including when i run the application i face these error
$(document).ready(function () $ is not defined List:178 Uncaught TypeError: $(...).kendoDatePicker is not a function
multiple time. when i click on error they show me error on this lines
<script> $(document).ready(function () { $("#StartDate").kendoDatePicker(); });
I add assembly on reference but noting fruitful.
-
Hassan Abbas over 7 yearswrite under <head > tag, but facing same issue List:178 Uncaught TypeError: $(...).kendoDatePicker is not a function
-
praguan over 7 yearsYou should also add kendoDatePicker source
-
Rajesh over 7 years@HassanAbbas load scripts in following order: jQuery, Kendo, YourScripts
-
praguan over 7 years@HassanAbbas, check your reference between head tags, I've edited my solution