I am building a menu in HTML/CSS/JS and I need a way to prevent the text in the menu from being highlighted when double-clicked on. I need a way to pass the id\'s of several
You could use this CSS to simply hide the selection color (not supported by IE):
#id::-moz-selection { background: transparent; } #id::selection { background: transparent; }