All jQuery UI DatePicker

jQuery UI Datepicker : Set Current Date

To set current date in control to which jQuery UI datepicker bind, use setDate() method. Pass date object which needs to be set as an argument to setDate() method. If you want to set it to current date then you can pass 'today' as argument. So, jQuery code to set current date may look like […]
Read the rest of this entry »

jQuery UI DatePicker, IE 7 and an extra comma

Well, looking at the post title doesn't give you an idea about what the post is all about but that's best possible title I could think and come up with. "jQuery UI DatePicker, IE 7 and an extra comma" combination can give you some pain. Why? Let's see through a piece of code. Below jQuery […]
Read the rest of this entry »

Change Position of Current month in multi month jQuery UI Calendar

Today I needed to show a 3 months(multi month) jQuery UI Calendar and need to show current month in the middle. Read "Show multiple months in jQuery datepicker". By default, the current month is always displayed at first place. See the image. But I need to display the current month (which is September) in the […]
Read the rest of this entry »

jQuery UI DatePicker

jQuery UI DatePicker is most popular and used date picker plugin that adds datepicker functionality to your pages. It can be customized easily for different date formats and languages, restricting date ranges, disabling specific days and other navigation options easily. I had posted many articles on jQuery UI DatePicker, which covers almost everything which one […]
Read the rest of this entry »

Show jQuery DatePicker on button click

The default behavior of jQuery UI Datepicker control is to show Datepicker on click to the element to which it is bind. But sometimes it is required to open the datepicker control on click of button. So In this post, I will demonstrate how to show jQuery DatePicker on button click. To achieve this, one […]
Read the rest of this entry »

Show only Month and Year in jQuery UI DatePicker

jQuery UI Datepicker is a great control. The default behavior of the control shows dates along with Month and Year. But today for my requirement, I need to show only Month and Year as dropdown (with no dates). So when datepicker control is opened there should be only Month and Year dropdown. This was a […]
Read the rest of this entry »