Calling a jquery library function is very easy we can call the jquery function by following method.
<script type="text/javascript">
$("button").click(function()
{
alert("You have clicked the button! ");
});
</script>
The above function is calling an alert ' You have clicked the button! ' when any button is clicked.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<button> Click Me ! </button>
<script type="text/javascript">
$("button").click(function()
{
alert("You have clicked the button! ");
});
</script>