1. Returns the VALUE of a selected OPTION
  2. Returns document.URL of the window in focus
  3. Returns the value of cursor-selected text
  4. Returns the VALUE of a checked radio input
4 views

1 Answers

Answer: Option 3

The getSelection() method returns the value of the cursor-selected text.

4 views