0

I have a jQuery slider that requires being slid, but if the user drags there mouse past the sliders end, it highlights some of the things on the rest of the page. Now if the user goes to move the slider again, it does this weird thing where it tries to drag the highlighted elements instead of the slider. What I'm looking for is a jQuery or JavaScript blurb that sets nothing to be highlighted. I tried $('body').blur(); but with no avail.

Anders
  • 8,307
  • 9
  • 56
  • 88
Brian Leishman
  • 8,155
  • 11
  • 57
  • 93

1 Answers1

1

This posting has information on how to clear the text selection with JavaScript: Clear Text Selection with JavaScript

Community
  • 1
  • 1
Jan Thomä
  • 13,296
  • 6
  • 55
  • 83