Log in

View Full Version : What is the difference between an alert box and a confirmation box ?



Sankara Vignesh
10-09-2017, 09:04 AM
Anyone know about the basic differences between the alert box and confirmation box within the website designing webpages....!

mvminfotechseo
10-11-2017, 07:28 AM
Alert box usually have only one button OK or it can be a self closing flash message/popup as well. ... Confirm usually have buttons like OK-Cancel, Yes-No, Abort-Cancel-Retry types. You read the confirmation being asked and then provide your suggestion to system by clicking appropriate button available in confirmation box.

Sherin
06-20-2019, 01:42 AM
An alert box displays some message for the user with just an OK button and will disappear when you hit that button.
A confirm box is like question posed to the user to decide between two things like for example “Press OK to proceed" else "CANCEL ".
alert() displays a dialog with only one button.
confirm() displays a dialog with two buttons: 'ok' and 'cancel'

seojesica
06-20-2019, 02:56 AM
Alert box usually have only one button OK or it can be a self closing flash message/popup as well. ... Confirm usually have buttons like OK-Cancel, Yes-No, Abort-Cancel-Retry types. You read the confirmation being asked and then provide your suggestion to system by clicking appropriate button available in confirmation box.


Yes, I completely agree with you, Thanks.