I am not able to fix a datepicker in my site.Error i am getting is Uncaught TypeError: Object [object Object] has no method 'datepicker'.my code is
<head>
<script src="{{ STATIC_URL }}scripts/modernizr-2.0.6.min.js"></script>
<script src="{{ STATIC_URL }}scripts/jquery-1.9.1.min.js"></script>
<script src="{{ STATIC_URL }}scripts/jquery-ui.js"></script>
<script src="{{ STATIC_URL }}scripts/jquery-1.9.1.js"></script>
<script type="text/javascript">
$(function () {
$( "#datepicker" ).datepicker({
showOn: "button",
buttonImage: "{{ STATIC_URL }}images/icon.png",
buttonImageOnly: true
});
});
</script>
</head>
It is dispatching the error"Uncaught TypeError: Object [object Object] has no method 'datepicker'".Can i get a solution for this.
Thanks