Button disable

jquery disable submit button after click

by Ankit Patidar

HTML

<button class="disable">Add Person</button>

JavaScript

$('.disable').click(function(){
   $(this).prop('disabled', true);
});