Search and Top Navigation
#6908 closed bug (notabug)
Opened January 28, 2011 09:23AM UTC
Closed January 28, 2011 09:46AM UTC
datepicker altField not working
Reported by: | gmoulin | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.core | Version: | 1.8.9 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jquery 1.4.4
jquery ui 1.8.9
using altField option does not update the altField when a date is selected
furthermore when asking for the altField option value datepicker returns an empty string
tested on chrome dev version, firefox stable, firefox beta and minefield
no errors anywhere
(tryied on jsFiddle but the datepicker won't init, no errors...)
<input type="text" id="dueDate" name="dueDate" value="" />
<input type="text" id="hdnDueDate" name="hdnDueDate" value="" />
<script>
jQuery(document).ready(function(){
jQuery('#dueDate').datepicker("option", "altField", '#hdnDueDate');
console.log(jQuery('#dueDate').datepicker( "option", "altField" ));
});
</script>
atlField != altField
my bad
trash this one please