For setTimeinterval() that can do callback function such as
window.setInterval(displaymesg,2000, "message is here");
The code above is working for all browsers except older version of IE browser.
The question is
var displaymesg=closurefunc("message is here");
Or there is other method besides closure to pass the argument into callback function ?