views:

72

answers:

2

In my web app the user can sometimes click the same button a number of times, skipping through messages and things, causing the </a> to be selected.

So how can I prevent this using Javascript (jQuery)

+5  A: 

This solution worked for me: http://chris-barr.com/entry/disable_text_selection_with_jquery/

Marek Kowalski
+1  A: 

There are several good suggestions on a similar SO question page
http://stackoverflow.com/questions/69430/is-there-a-way-to-make-text-unselectable-on-an-html-page

Ron Harlev