is a warning message!"); } //--> </script> </head> <body> <p>Click the following button to see the result: </p> <form> <input type="button" value="Click Me" onclick="Warn();" /> </form> </body> </html> Nonetheless, an box can still be used for friendlier messages. Alert box gives only one button "OK" to select and proceed. On clicking button, Me’ an alert window appears. ‘Click Confirmation Dialog Box: A confirmation dialog box is mostly used to take user's consent on any option. It displays a dialog box with two buttons: OK and Cancel. If the user clicks on OK button the window method confirm() will return true. If the user clicks on the Cancel button confirm() returns You can use confirmation dialog box as follows: <html> <head>
is a warning message!"); } //--> </script> </head> <body> <p>Click the following button to see the result: </p> <form> <input type="button" value="Click Me" onclick="Warn();" /> </form> </body> </html> Nonetheless, an box can still be used for friendlier messages. Alert box gives only one button "OK" to select and proceed. On clicking button, ‘Click Me’ an alert window appears. Confirmation Dialog Box: A confirmation dialog box is mostly used to take user's consent on any option. It displays a dialog box with two buttons: OK and Cancel. If the user clicks on OK button the window method confirm() will return true. If the user clicks on the Cancel button confirm() returns You can use confirmation dialog box as follows: <html> <head>
class_10_full.docx