On submit button i want to disable the button so user does not click more than once. im using jquery for that but its not working, my code is
setTimeout($('#btn').attr("disabled", true), 1);
return true;
button get disabled but my controller does not call. what am i doing wrong?