Disable click on a div
javascript
Solution
document.getElementById('div1').onmousedown = new function ("return false");
Problem
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).