javascript alert box with ok button





Create Alert Dialog Box Using JavaScript. Alert dialog box is a pop-up window appearing on the browser only with a OK button to inform a very small message to the users. Alert box shall be used to display a warning message or an information message. JavaScript introduced three dialog boxes that work well enough for alerting, confirming and prompting for values. alert() confirm() prompt().Whenever an alert box pops up, the user will have to click "OK" button to proceed to next step.

Copyright © 2018.