Explain confirm() command with an example
Answers
Answered by
3
Answer:
The JavaScript confirm() method displays a specified message in a dialog box, containing OK and CANCEL buttons. A confirm box is used to accept or verify something. ... The confirm() method returns true when users click OK, and false when they click CANCEL or X.
Similar questions