Slider Disabling

Slider Disabling

Slider disabling is not working in IE9 and IE10. It works in Chrome and Mozilla.

In chrome and mozilla below statement works once and then it disables.

$('.selector').slider('disable');

but in chrome and mozilla below statement disables on page load.

$('#qty').slider({ disabled: "true" });

Both the method placed in document ready

    $(document).ready(function () {
        $('.selector').slider('disable');
        $('.selector').slider({ disabled: "true" });
    });


I believe both the above statement should behave same.