Hi All,
In my application i need to disable the button once it is clicked so that user should not click more than once. APplication is MVC ASP.NET i have done this in normal asp.net application. I tried using javascript and Jquery its not working button is getting disabled but then form is not getting submitted
<script language="javascript">
$("#ClickMe").attr("disabled", "disabled");
</script>
Javascript
function DisableNextButton(btnId) {
document.getElementById(btnId).disabled = 'true';
}
both are working great only for disabling part ... post back is not happening at all thanks