From the course: Learning jQuery UI

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

The Datepicker control

The Datepicker control - jQuery Tutorial

From the course: Learning jQuery UI

Start my 1-month free trial

The Datepicker control

- Of all the jQuery UI controls the Datepicker is probably one of the most widely used and is also one of the most highly configurable. Now, Datepicker controls are starting to be implemented in browsers as part of the html5 standard because there is a new input control, and you can specify it by using input type equals date. But, the jQuery UI version is very highly stylizable and has a very large number of configuration options, which the built-in ones in the browser don't have just yet. So, you can pick and choose which one you want to use based upon your needs. So in this movie, let's take a look at how we use the Datepicker in jQuery UI. So, you can see here in snippets I've scrolled down to the Datepicker section, and I'll open up Datepicker_start to exercise the different functions. You can see here that this is a pretty simple file. I've just got a heading here with an input of type text and the id of datepick1. So, let's scroll back up to the code, and over here in the…

Contents