<div id="success">
<button class="btn btn-primary btn-xl" type="submit" id="btnShow">Send</button>
</div>
As a beginner in JavaScript, I am struggling to write the code for displaying a success alert upon clicking the button.
This is the script that I've attempted:
$("#btnShow").click(function(){
$(".alert").show();
});