Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- simple Timeout & clear


sssweb - 9:25 pm on Jan 2, 2013 (gmt 0)


I got it. Timer needs to be defined outside the function:

var Timer;
function test() {
Timer = setTimeout(function() {
alert("hello");
}, 1000);
}


Thread source:: http://www.webmasterworld.com/javascript/4532620.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com