function carregarPrimary() {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("idPrimary").innerHTML = this.responseText;
}
};
xmlhttp.open("GET", "https://artincode.pt/index.php", true);
xmlhttp.send();
}
Sem comentários:
Enviar um comentário