Advertisement
giuseppemauro99

Untitled

Dec 30th, 2019
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.34 KB | None | 0 0
  1. $.post( "test.php", { name: "John", time: "2pm" }) //<---- test.php è la pagina a cui inviare i parametri nel formato {nomeParametro : valore}
  2.   .done(function( data ) {
  3.     alert( "Data Loaded: " + data ); //<--Questa istruzione dovrai sostituira con una funzione che elabora i dati ricevuti da test.php e li inserisce nei campi che vuoi
  4.   });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement