alert

How to display alert message in jQuery?

0:00
↔️ ↕️

Sharing buttons:

in this video tutorial I will explain

you how you can display the alert

message on a button click in jQuery so

we have a button called

c1 and we are going to use this button

and attach the event has a one dot click

and then the alert message for this

including as required we should download

the jQuery J's file and include here so

it is included so jQuery is included and

then under the JavaScript block we have

documented ready then dollar has G 1 dot

click function and the function in the

and in the function we are simply

calling the alert function of JavaScript

so it is going to display the alert

message like this so this is the source

code of the program it is including

jQuery then on document ready we are

attaching the click event and on button

click it is calling the alert message so