function processTextResponse() { var element =document.getElementById("main"); if(http_request.readyState== 4) { if(http_request.status== 200) { //alert(http_request.responseText);
var p = http_request.responseText; var errtd =document.getElementById("errtd"); errtd.innerHTML=""; errtd.style.display=""; var returnstr = p.split("|"); errtd.innerHTML= returnstr[1]; //errtd.innerHTML = p;