Thursday 1 December 2016

Alert Using Jquery

Example

Click on a "p" element to alert a text:

$("p").click(function(){
alert("The paragraph was clicked.");
});

No comments:

Post a Comment