<!DOCTYPE html>
<html>
<head>
<script src="http://www.sargonco.com/Uploads/Public/article/webdistut/javascript/jquery-3.2.1.min.js"></script>

<script>
$(document).ready(function(){
    $("#p1").mousedown(function(){
        alert("Mouse down over p1!");
    });
});
</script>
</head>
<body>

<p id="p1">This is a paragraph.</p>
</body>
</html>

This is a paragraph.