#3246 closed feature (wontfix)
Get the alternated formatted value
Reported by: | Owned by: | grabanski | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.datepicker | Version: | |
Keywords: | alternate fields | Cc: | |
Blocked by: | Blocking: |
Description
It will be good if date can get the alternate formatted value (when you set the altField and altFormat) with a option like datepicker( "getAltDate" ).
Note: See
TracTickets for help on using
tickets.
The getDate command returns a Date object that you can then format using $.datepicker.formatDate. Alternatively you could get the value directly from the alternate field: $('altField').val().