Hi guys,
I am using a following code.
I am using if condition but it is not working fine.
if(Request.responseText == "test")
{
window.location.href="home.php";
}
else
{
document.getElementById("signup_result").innerHTML=Request.responseText;
}
I tried to alert the Request.responseText value it is "test" but condition is always false and control goes to else block.
can anybody help me what will be the problem.
please reply quick.
Take care.