Your host:
Stephen Chapman
Stephen Chapman

What is the difference between the alert() and confirm() methods?

The alert() method displays a message box with just an ok button to close the box. The confirm() method also has a cancel button and returns true if the ok button is pressed and false if the cancel button is pressed.

go to top

Add to del.icio.us

Mortgage Calculator - Flights - Cheap Flights - Guitar Lessons