I was creating the datepicker in angularjs, So I inclued following js files.
1. <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
2.<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
3.<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.js"></script>
When I include jquery before jquery-ui, every thing working correctly, please see demo Datepicker is working
But when I include jquery-ui after then datepicker is not working, please explain this behaviour. Demo when datepicker is not working Demo : datepicker is not working
datepicker is not workingyou can see error jquery-ui.min.js:5 Uncaught ReferenceError: jQuery is not defined