It took my a while to find a bit of script that worked cross browser, but the jquery plugin at http://code.jdempster.com/jQuery.DisableTextSelect/ does the job! When working on the UI of a web application text would often get selected by the browser incorrectly, for example while dragging an element, or clicking on an element with an [...]
jQuery plugin to disable text selection on elements