Cod-nes Posted July 18, 2010 Share Posted July 18, 2010 EDIT: I SOLVED IT.----Settimeout doesn't want to function even though the rest of the code works and I don't know why. var t;function time() {var ele = document.getElementById('ele');check(ele.value); // THIS WORKSt = setTimeout("check(ele.value)",100); // THIS DOESN'T WANT TO WORK} ----The solution for setTimeout: t = setTimeout(function() { check(ele.value)},100); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.