Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1945 closed bug (wontfix)

UI Datepicker

Reported by: jacques Owned by: iMarc
Priority: blocker Milestone:
Component: ui.core Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:


Hi when I follow the example from (date range tab)

$('.dateRange').datepicker({beforeShow: customRange}); Customize two date pickers to work as a date range function customRange(input) {

return {minDate: ( == 'dTo' ? getDate($('#dFrom').val()) : null),

maxDate: ( == 'dFrom' ? getDate($('#dTo').val()) : null)};


I have an error : "getDate is not defined". Error appears in IE and Firefox

Please advise on how to fix. Thanks Jacques

Change History (4)

comment:1 Changed 15 years ago by paul

Owner: set to iMarc

comment:2 Changed 15 years ago by kbwood

This function is defined in the ui.datepicker.demo.js file referenced on that page.

comment:3 Changed 15 years ago by kbwood

Resolution: wontfix
Status: newclosed

comment:4 Changed 15 years ago by (none)

Milestone: 1.2.2

Milestone 1.2.2 deleted

Note: See TracTickets for help on using tickets.