I have some JavaScript code that looks like:
function statechangedPostQuestion()
{
//alert("statechangedPostQuestion");
if (xmlhttp.readyState==4)
{
var topicId = xmlhttp.responseText;
setTimeout("postinsql(topicId)",4000);
}
}
function postinsql(topicId)
{
//alert(topicId);
}
I get aan error that topicId is not defined
Everything was working before iI used the setTimeout() function.
I want my postinsql(topicId) function to be called after some time.
What should iI do?
I have some JavaScript code that looks like:
function statechangedPostQuestion()
{
//alert("statechangedPostQuestion");
if (xmlhttp.readyState==4)
{
var topicId = xmlhttp.responseText;
setTimeout("postinsql(topicId)",4000);
}
}
function postinsql(topicId)
{
//alert(topicId);
}
I get a error that topicId is not defined
Everything was working before i used the setTimeout() function.
I want my postinsql(topicId) function to be called after some time.
What should i do?
I have some JavaScript code that looks like:
function statechangedPostQuestion()
{
//alert("statechangedPostQuestion");
if (xmlhttp.readyState==4)
{
var topicId = xmlhttp.responseText;
setTimeout("postinsql(topicId)",4000);
}
}
function postinsql(topicId)
{
//alert(topicId);
}
I get an error that topicId is not defined
Everything was working before I used the setTimeout() function.
I want my postinsql(topicId) function to be called after some time.
What should I do?
Problem using How can I pass a parameter to a setTimeout(); callback?
I have a javascriptsome JavaScript code that looks like:
function statechangedPostQuestion()
{
//alert("statechangedPostQuestion");
if(xmlhttp.readyState==4)
{
var topicId =xmlhttp= xmlhttp.responseText;
setTimeout("postinsql(topicId)",4000);
}
}
function postinsql(topicId)
{
//alert(topicId);
}
I get a error that topicIdtopicId is not defined
Everything was working before i used the setTimeoutsetTimeout() function.
I want my postinsql(topicId) funtionpostinsql(topicId) function to be called after some time.
What should i do??
Regards Zee
Problem using setTimeout();
I have a javascript code that looks like:
function statechangedPostQuestion()
{
//alert("statechangedPostQuestion");
if(xmlhttp.readyState==4)
{
var topicId =xmlhttp.responseText;
setTimeout("postinsql(topicId)",4000);
}
}
function postinsql(topicId)
{
//alert(topicId);
}
I get a error that topicId is not defined Everything was working before i used the setTimeout function.
I want my postinsql(topicId) funtion to be called after some time. What should i do??
Regards Zee
How can I pass a parameter to a setTimeout() callback?
I have some JavaScript code that looks like:
function statechangedPostQuestion()
{
//alert("statechangedPostQuestion");
if(xmlhttp.readyState==4)
{
var topicId = xmlhttp.responseText;
setTimeout("postinsql(topicId)",4000);
}
}
function postinsql(topicId)
{
//alert(topicId);
}
I get a error that topicId is not defined
Everything was working before i used the setTimeout() function.
I want my postinsql(topicId) function to be called after some time.
What should i do?
I have a javascript code that looks like :
function statechangedPostQuestion() { //alert("statechangedPostQuestion"); if(xmlhttp.readyState==4) { var topicId =xmlhttp.responseText; setTimeout("postinsql(topicId)",4000); } } function postinsql(topicId) { //alert(topicId); }
function statechangedPostQuestion()
{
//alert("statechangedPostQuestion");
if(xmlhttp.readyState==4)
{
var topicId =xmlhttp.responseText;
setTimeout("postinsql(topicId)",4000);
}
}
function postinsql(topicId)
{
//alert(topicId);
}
I get a error that topicId is not defined Everything was working before i used the setTimeout function.
I want my postinsql(topicId) funtion to be called after some time. What should i do??
Regards Zee
I have a javascript code that looks like :
function statechangedPostQuestion() { //alert("statechangedPostQuestion"); if(xmlhttp.readyState==4) { var topicId =xmlhttp.responseText; setTimeout("postinsql(topicId)",4000); } } function postinsql(topicId) { //alert(topicId); }
I get a error that topicId is not defined Everything was working before i used the setTimeout function.
I want my postinsql(topicId) funtion to be called after some time. What should i do??
Regards Zee
I have a javascript code that looks like :
function statechangedPostQuestion()
{
//alert("statechangedPostQuestion");
if(xmlhttp.readyState==4)
{
var topicId =xmlhttp.responseText;
setTimeout("postinsql(topicId)",4000);
}
}
function postinsql(topicId)
{
//alert(topicId);
}
I get a error that topicId is not defined Everything was working before i used the setTimeout function.
I want my postinsql(topicId) funtion to be called after some time. What should i do??
Regards Zee