143
rated 0 times
[
147]
[
4]
/ answers: 1 / hits: 44990
/ 9 Years ago, sun, may 31, 2015, 12:00:00
I want to disable my button on click and then reenable in after 5 seconds but its not working properly.
function submitPoll(id){
document.getElementById(votebutton).disabled = true;
document.getElementById(votebutton).delay(5000).disabled = false;
}
More From » javascript