I have some JavaScript code that looks like:
function statechangedPostQuestion() { //alert("statechangedPostQuestion"); if (xmlhttp.readyState==
You can try default functionality of 'apply()' something like this, you can pass more number of arguments as your requirement in the array
function postinsql(topicId) { //alert(topicId); } setTimeout( postinsql.apply(window,["mytopic"]) ,500);