Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Apr 2015
    Posts
    134

    Lightbulb What is the difference between an alert box and a confirmation box ?

    Anyone know about the basic differences between the alert box and confirmation box within the website designing webpages....!

  2. #2
    Senior Member
    Join Date
    Sep 2017
    Posts
    227
    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.

  3. #3
    Registered User
    Join Date
    Mar 2019
    Location
    Ahmedabad
    Posts
    180
    • 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'
    Last edited by Sherin; 06-20-2019 at 01:18 AM.

  4. #4
    Registered User
    Join Date
    Dec 2012
    Posts
    216
    Quote Originally Posted by mvminfotechseo View Post
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.