<html>
<head>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function()
{
$('#submit').click(function()
{
$(this).text('Processing…');
})
});
</script>
</head>
<body>
<button
id="submit">Submit</button>
</body>
</html>