Bug Tracker

Opened 16 years ago

Closed 15 years ago

#1945 closed bug (wontfix)

UI Datepicker

Reported by: jacques Owned by: iMarc
Priority: undecided Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:


Hi when I follow the example from http://marcgrabanski.com/code/ui-datepicker/ (date range tab)

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

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

maxDate: (input.id == '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 (3)

comment:1 Changed 16 years ago by paul

Owner: set to iMarc

comment:2 Changed 16 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
Note: See TracTickets for help on using tickets.