GIF89a php
Current File : /home/hencockfreshchic/public_html/admin.cpanel/js/delData.js
function delData(srr)
{
	if (window.XMLHttpRequest) {
            xmlhttp = new XMLHttpRequest();
        } else {          
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        } 
  xmlhttp.onreadystatechange=function() 
   {
    if (this.readyState==4 && this.status==200) 
	{
      if(this.responseText==1)
      {
      	window.location.href = ("addUser.php");
      }
      else
      {
      	alert("Unable to delete selected data");
      }	
	}
  };
  xmlhttp.open("GET","delData.php?sr="+srr,true);
  xmlhttp.send();
}