Ajax básico con jQuery


/ Published in: jQuery
Save to your folder(s)

Operación Ajax básica con jQuery


Copy this code and paste it in your HTML
  1. $.ajax({
  2. type: "POST",
  3. url: "formulario.php",
  4. data: "nombre=Juan&apellido=Luna",
  5. success: function(datos){
  6. alert( "Se guardaron los datos: " + datos);
  7. }
  8. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.