javascript - Uncaught TypeError: Object Object] has no method 'datepicker' -


i not able fix datepicker in site.error getting 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 dispatching error"uncaught typeerror: object [object object] has no method 'datepicker'".can solution this.

thanks

do not import jquery library twice.

this main cause problem these


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -