In this section we will discuss about alert box in jQuery.
Here I am giving a simple example which will demonstrate you about how an alert box can display information. In this example we will display an alert box after clicking a button and the click event is generated. When a user will execute this example and click on the button then the alert box will be displayed.
To run the above example you will have to download the jquery-1.9.1.js file. When you will run the above example then the output will be as follows :
Liked it! Share this Tutorial