Hello everybody! i have a problem, i m returning a data from servlet to ajax function and in function i want to compare the response.Text with some String e.g x but it doesnot compare it. i have the following code;
function ajaxhandler()
{
tableHtml=response.Text
if(tableHtml=='true')
alert("Valid Move");
else alert("invalid move")
}
but this doesnt alert anything kindly help me