We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d18e9d commit 9444fcfCopy full SHA for 9444fcf
ui/datepicker.js
@@ -1071,7 +1071,7 @@ $.extend(Datepicker.prototype, {
1071
altFormat = this._get(inst, "altFormat") || this._get(inst, "dateFormat");
1072
date = this._getDate(inst);
1073
dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));
1074
- $(altField).each(function() { $(this).val(dateStr); });
+ $(document).find(altField).val(dateStr);
1075
}
1076
},
1077
0 commit comments