jQuery.post () .done () y éxito:

jQuery documentación sobrejQuery.post( )

// Assign handlers immediately after making the request,
// and remember the jqxhr object for this request
var jqxhr = $.post( "example.php", function() {
  alert( "success" );
})
  .done(function() {
    alert( "second success" );
  })
  .fail(function() {
    alert( "error" );
  })
  .always(function() {
    alert( "finished" );
});

// Perform other work here ...

// Set another completion function for the request above
jqxhr.always(function() {
  alert( "second finished" );
});

¿Cuál es la diferencia entre elsuccess: parámetro y eljqXHR.done( ) método; Si no hay ninguno, ¿cuál es el punto completo de lajqXHR.done( ) ¿método?

Respuestas a la pregunta(4)

Su respuesta a la pregunta