Prevent marking in WebView
-
Hi
Is there a way to prevent marking/selection in a WebView?
I mean, if the mouse/touch is pressed and hold and then moved it should not mark things moved over until released.Thanks
McL@McLion This is best handled in the jQuery. It sounds like on certain elements you want to prevent the selection event from occurring.
http://stackoverflow.com/search?q=jquery+prevent+text+selection
So, create a class, and then capture the select event on that class, then deny it with e.preventDefault() followed by return false. I'm not certain, but this might involve dragstart and dragend events, as well.