Best frameworks
Web oficial:
Tutoriales:
Las función GET:
function llamadaAjax(action) {
var mail = document.getElementById("mail").value;
var num = document.getElementById("numero").value;
var miajax = new XMLHttpRequest();
miajax.onreadystatechange = function () {
if (miajax.readyState == 4 && miajax.status == 200) {
document.getElementById('resultado').innerHTML = miajax.responseText;
}
}
miajax.open('GET', 'test.php?num=' + num + '&mail=' + mail + "&action=" + action, true);
miajax.send();
}
La función POST:
function llamadaAjaxPost() {
var mail = document.getElementById("mail").value;
var miajax = new XMLHttpRequest();
miajax.onreadystatechange = function () {
if (miajax.readyState == 4 && miajax.status == 200) {
document.getElementById('resultado').innerHTML = miajax.responseText;
}
}
miajax.open('POSt', 'testpost.php', true);
miajax.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
miajax.send("mail="+mail);
}
Código html:
$( "#paises2" ).autocomplete({
source: "paises_lista.php"
});
Código php:
<?php include_once 'conexionPDO.php'; $sql = "select * from country where country_id=-1"; $sql = "select country as value from country where country like '%" . $_GET["term"] . "%'"; $resul = $conn->query($sql); $paises = $resul->fetchAll(); echo json_encode($paises);
Comercio electrónico:
Cursos:
Wiki:
Foros:
Tickets/Soporte
Sistema para instalar diferentes programas proporcionando el ftp: