function pagealert(email,tagid) {
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
if (email.length==0) {
document.getElementById("ajresults").innerHTML="";
document.getElementById("ajresults").style.border="0px";
return;
}
var xmlhttp=new XMLHttpRequest();
xmlhttp.onreadystatechange=function() {
if (this.readyState==4 && this.status==200) {
document.getElementById("ajresults").innerHTML=this.responseText;
alert(this.responseText);
}
}
xmlhttp.open("POST","/email-changes-ajax.php",true);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.send("e="+email+"&src=page&t="+timezone+"&u="+window.location.href+"&tid="+tagid);
}
Want to follow specific category? Connection failed: Too many connections