Alert Box Function

How to create a alert box using javascript?
Creating a popup message?


Alert or Popup:
The in built function alert can be used for creating a alert or popup message.
Use the function with any string as argument.


<script language=javascript>
alert("This is a test alert message");

Ask Questions

Ask Question