0
Einfache Schaltfläche, Wie kann ich die Schaltfläche sofort deaktivieren? mein API-Anruf ist nicht asynchron, aber ich möchte nicht Benutzer mehrere Anfragen senden?Jquery, ASP.NET MVC Async Aufgabe?
Beispiel? Suche
function GetClient() {
$("#btnSubmitCode").prop("disabled",true);
//Ajax call here
//takes a few seconds to go and get info from api
}