The alert method
The alert()
method displays an alert dialog with the optional specified content and an OK button:
alert("This is a sample alert");
The alert()
method displays an alert dialog with the optional specified content and an OK button:
alert("This is a sample alert");