Getting started with jquery datepicker

I am learning web programming and now I'm stuck with jquery datepicker. I need a complete example / tutorial consisting of a walkthrough :

  • Display jquery datepicker
  • Use it
  • Get user input

I searched many times, but all I get is tutorials on how to "modify it (using css)". I need a more beginner-friendly tutorial (I just start with jquery and AJAX , but I know the javascript standard).

Thanks for your help: D

+6
source share
1 answer

You need to enter an input field and then add t00> to it by calling the datepicker method:

  <input type="text" id="datepicker" /> <script> $(function() { $("#datepicker").datepicker(); }); </script> 

$ (function () {} indicates that it will call the datepicker method and bind it to the datepicker HTML datepicker after loading the DOM .

http://jqueryui.com/datepicker/

+10
source

All Articles