Menu
hi everybody im new to javascript i like to access a PHP file do some work and then if all is successful return the response text update the div innerhtml compare div content with xmlhttp.responseText
[code]
if(xmlHttp.readyState==4){
var result = xmlhttp.responseText;
var tagcon = document.getElementById(“iddiv”).value;
if (result == tagcon)
document.getElementById(divid).innerHTML=xmlHttp.responseText;
thanks