javascript enable a disabled textbox after a while
问题 I've been trying all sorts of things and looking for an answer. I found some but they don't work for some strange reason. I'm using a txt document to store an array and using ajax to GET from it. It works that after you failed 3 attempts it disables the fields, but how do I make it so that after 10 seconds it enables again? This is my javascript code: else { attempt--; // Decrementing by one. alert("You have left " + attempt + " attempt;"); document.getElementById("password").value = ''; //