Opened 10 years ago

Closed 10 years ago

#6908 closed bug (notabug)

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>

Change History (2)

comment:1 Changed 10 years ago by gmoulin

atlField != altField

my bad

trash this one please

comment:2 Changed 10 years ago by Jörn Zaefferer

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.