Here is the thing...
In desktop browsers I used document.selection.createRange() and window.getSelection(); to get the highlighted text. And, I used onmouseup event to create an event on the selection of texts. Both are working on desktop platforms
But in Mobile browsers onmouseup event not working...
So what should I use instead of onmouseup event for smartphones