adplus-dvertising
frame-decoration

Question

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

Answer: (c).Returns the value of cursor-selected text

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which best explains getSelection()?