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)
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)
This solution worked for me: http://chris-barr.com/entry/disable_text_selection_with_jquery/
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