GIF89a php
Current File : /home/hencockfreshchic/public_html/admin.cpanel/js/removeSizeVariant.js
function removeSizeVariant(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)
	{
		alert("Selected size variant has been removed");
		window.location.href = ("size_variants.php");
	}
	else if(this.responseText==0)
	{
		alert("Dear user, we are unable to remove selected size variant, Please contact to developers");
	}
	}
	};
	xmlhttp.open("GET","removeSizeVariant.php?srr="+srr,true);
	xmlhttp.send();
}