You don't need to call setDate
, just put the date in the correct format as the input value.
See example: http://jsfiddle.net/RQzbw/
Note 1: Use 'mdyy'
and 'm/d/yy'
, yyyy
is incorrect (see documentation)
Note 2: .scroller()
is deprecated, use .mobiscroll()
instead. If you are using an older version, you should upgrade to latest.