Jump to content

GetSelection method


jimfog
 Share

Recommended Posts

It seems that there is a method of the window object which has the name getselection and returns an object containing the selection(text) the user made to the page.Nonetheless i cannot find such method in the w3schools tutorials.Is it a relatively new method?

Link to comment
Share on other sites

W3Schools' Javascript reference is pretty incomplete. And I think getSelection has a few cross-browser problems which are addressed in some places on the internet by professional web developers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...