-1
rated 0 times
[
3]
[
4]
/ answers: 1 / hits: 32209
/ 12 Years ago, mon, june 25, 2012, 12:00:00
I want to disable click on a certain <div>
so that when you select the text on it, the text doesn't select.
I tried writing onclick=return false;
like in this fiddle http://jsfiddle.net/mageek/X6hqD/ but it doesn't work.
How can it work? (My goal isn't just disabling the select, it's the whole click).
More From » javascript