Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS -ms-user-select: none; not working in IE

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #261166
    kishoresw
    Participant

    Hello,

    I am working on a project where we are using bootstrap slider. The problem that I have now is when we move the slider to the max value(end of the slider), the text is being highlighting. I added the following CSS and append it to the script. This is working fine in chrome and Firefox but not in IE. Could you please help?
    in CSS:

    .no_select {
    -ms-user-select: none;
    -webkit-user-select: none; /* Chrome all / Safari all /
    -moz-user-select: none; /
    Firefox all /
    -ms-user-select: none; /
    IE 10+ /
    user-select: none; /
    Likely future */
    }

    In javascript:
    lAmtslider.on(“slide”, function (sliderValue) {
    $(“body”).addClass(‘no_select’);
    —–
    }

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.