When i double clicking some element in my web browser it mark it with blue marking. Is there possibility in jQuery to avoid this behavior?
Asked
Active
Viewed 210 times
2 Answers
1
You can try this
$("anySelector").bind("selectstart", function(){
return false;
});
ShankarSangoli
- 68,720
- 11
- 89
- 123
0
If you mean a blue outline, it is possible to remove that by explicitly stating
outline: 0
In the CSS.
This can form part of a CSS reset, which is to start your CSS with
* {
outline: 0;
.
.
.
}
Julian
- 1,971
- 14
- 20
-
hmm.. i styled my element by `style="outline: 0"` but it didn't help. For more i have: `Activatee` Is it good? – krzyhub Jul 23 '11 at 21:41