jquery.selection
jquery.selection copied to clipboard
Get selection text with nothing
Hi.
I want a method to get the selection text in the page without know if there is a textarea or html text.
Something that:
var text = $(document).selection();
Regards.
try $.selection()
Thanks, I will try your trick.
How about $.selection('getPos');? It returns nothing.