M

Mr. Dubey • 52.33K Points
Coach

Q. Which best explains getSelection()?

  • (A) Returns the VALUE of a selected OPTION
  • (B) Returns document.URL of the window in focus
  • (C) Returns the value of cursor-selected text
  • (D) Returns the VALUE of a checked radio input
  • Correct Answer - Option(C)
  • Views: 77
  • Filed under category JavaScript

Explanation by: Mr. Dubey
The getSelection() method returns the value of the cursor-selected text.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics