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.
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:
Regards.