Which browser are you using? window.getSelection() should work under FF...
itchypaws
💬 2487
Paul Clarkeʼs weblog - I live in Hythe, Kent. Wed and dad to 2, I'm a full stack web engineer, + I do mostly javascript / Node, some ruby, python, php ect ect. I like pubs, parkrun, eating, home-automation and other diy stuff, history, genealogy, TV, squirrels, pirates, lego, and time travel.