javascript confirm button text





The Javascript confirm box differs from a regular alert box in that, it provides two choices for the user: OK and CANCEL to confirm or reject the request. The confirm statement takes a string that will be displayed with the text box along with the OK and the Cancel Button. The JavaScript confirm function is very similar to the JavaScript alert function.