I don't know why, but the datepicker always trips me up.
I've set up a datepicker with the following settings:
$(".datepicker").datepicker({
dateFormat: 'yyyy-mm-dd',
appendText: '<span class="inputNote">
(yyyy-mm-dd)</span>',
buttonImageOnly: 'images/icon_datepicker.gif',
changeMonth: true,
changeYear: true,
yearRange: '-150:+10'
});
3 questions:
1) When I pick a date, the text field gets filled in with a double
year. For instance, if I pick 1999-10-12, the field is then filled in
as '19991999-10-12'. Any idea why?
2) I can't get the icon to show up at all. In relation to the page
that shows the datepicker, the image *is* located in
'images/icon_datepicker.gif'. Any way to easily debug that issue?
3) yearRange. Is there a way to fix the first year but make the second
relative? I tried "1900:+10" but it doesn't seem to like that mix of
fixed and relative options.
-DA
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=.