Documentos de Académico
Documentos de Profesional
Documentos de Cultura
js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#create_account').click(function(){
$.ajax({
type: "POST",
url: "account.php",
data: dataString,
success: function(data) {
}
});
});
});
</script>
Nombre
Archivo
Enviar
$(function(){
$(“#miFormulario”).on(function(){
var datosForm = new formData(document.getElementById(“miFormulario”));
$.ajax({
data: formData,
url: ‘ejemplo_ajax_proceso.php’,
type: ‘post’,
dataType: html,
beforeSend: function () {
$(“#resultado”).html(“Procesando, espere por favor…”);
},
success: function (response) {
$(“#resultado”).html(response);
}
});
});
});
/**** y el archivo que recibe los datos los haces de forma normal
como se hace comunmente $algo = $_POST[‘algo’]
como si hubieras mandado de un html a php