Skip to content

startdt.getTime not a function for timeRange #872

Open
@jmzbond

Description

@jmzbond

Just downloaded latest JS (11/2015), plopped in exactly the example code as given:

var startTimeTextBox = $('#deliverytime_start');
var endTimeTextBox = $('#deliverytime_end');

$.timepicker.timeRange(
  startTimeTextBox,
  endTimeTextBox,
  {
    minInterval: (1000*60*60), // 1hr
    timeFormat: 'HH:mm',
    start: {}, // start picker options
    end: {} // end picker options
  }
);

Upon page load, getting this error:
Uncaught TypeError: startdt.getTime is not a function

Has this happened to anyone else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions