Which JavaScript method is used to write into an alert box?

13. Which JavaScript method is used to write into an alert box?

  1. window.alertHTML()
  2. window.alert()
  3. window.alertBox()
  4. window.alertContent()

Answer: B) window.alert()

Explanation:

The JavaScript method window.alert() is used to write into an alert box.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.