trentrichardson / jQuery-Timepicker-Addon

Adds a timepicker to jQueryUI Datepicker
http://trentrichardson.com/examples/timepicker/
MIT License
2.66k stars 1.05k forks source link

not working on IE8 #864

Open brillox opened 8 years ago

brillox commented 8 years ago

this code:

$('#txtRecordingTime').timepicker(
            {
                timeFormat: 'HH:mm',
                closeText: "Set",
                DefaultTime: "now",
                addSliderAccess: "true",
                sliderAccessArgs: { touchonly: false },
                showOn: "button",
                buttonImage: "App_Themes/Normal/datenow.gif",
                buttonImageOnly: true,
                buttonText: "Select time"
            });

            $.timepicker.setDefaults($.timepicker.regional['gb']);

does not work on IE8; I tried to eliminate one option at time but still does not work.

I get this error:

_Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E) Timestamp: Tue, 2 Feb 2016 19:03:40 UTC Message: Object doesn't support this property or method Line: 887 Char: 5 Code: 0 URI: http://localhost/patientaccess/js/jquery-ui-timepicker-addon.js _

Do you think to get a solution for this or because is about an old browser you are not supporting any fix for it?

Thanks