Skip to content

setSelectionRange: Object doesn't support this property or method #846

@ltdeta

Description

@ltdeta

using version 1.6.1 tested with IE8

   var $dp = $jq(this).datetimepicker({
                  showOn: "button",
                  changeMonth: true,
                  changeYear: true,
                  controlType: $jq.fn.datepickerSlider });

with version 1.55 it works fine
now bushing the picker-button getting the following error

jquery-ui-timepicker-addon.js on line 887 ´Object doesn't support this property or method`

887  this.$timeObj[0].setSelectionRange(sPos, ePos);

sPos and ePos are undefined on line 879 , 880

879 var sPos = this.$timeObj[0].selectionStart;
880 var ePos = this.$timeObj[0].selectionEnd;

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