disable button on click for a few seconds
<button id="input-sales-btn" class="btn btn-success" onclick="inputBtnClicked('sales');this.disabled=true;
setTimeout(function(){ $('#input-sales-btn').removeAttr('disabled'); }, 15000);">Done
</button>
setTimeout(function(){ $('#input-sales-btn').removeAttr('disabled'); }, 15000);">Done
</button>
.png)

What is this programming all about?Sorry but I didn't get the task of the given program,what will be the output of it?
ReplyDelete