πŸ“Š JavaScript
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Returns the value of cursor-selected text

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
161
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate