By setting
minDate: "-1M",
maxDate: "+1M",
I am getting minDate as 24/Aug/2012 and maxDate as 24/oct/2012.
I want minDate as Start date of previous month i.e 01/Aug/2012 and maxDate as end date of next month 31/oct/2012.
How should i configure date picker to get it?
You need to calculate the dates yourself: