At the above link it describes how to prevent the default behaviour in JavaScript,but only shows you how to disable all defaults.
I only want to disable Text Selection / Context Menus
How would I go about this? Or am I going about this the wrong way?
This is nessary for the following reasons
- Disabling paste/copy on the play book
- When using auto complete the text selector pops up and is very annoying and sometimes in the way
This annoyance is caused by J Query auto select when it shows the text selection in blackberry gets in the way when trying to touch to choose one.
If came up with a work around by adding padding-top:30px; to the auto complete so its below the text selector but would like a better way to do this.
Thanks
.noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
Tried the above code thanks to a good stack overflower ! and this solves the problem on the browser(e.g chrome) but not on the web works play book application this fully disables editing/input as well which is no good.