I have some JavaScript code that looks like:
function statechangedPostQuestion() { //alert("statechangedPostQuestion"); if (xmlhttp.readyState==
You can pass the parameter to the setTimeout callback function as:
setTimeout(function, milliseconds, param1, param2, ...)
eg.
function myFunction() { setTimeout(alertMsg, 3000, "Hello"); } function alertMsg(message) { alert(message) }