daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Object
  2. 0: "27"
  3. 1: "BORDAS"
  4. 2: "Marie"
  5. 3: "3"
  6. 4: "1978-01-13"
  7. 5: "comm"
  8. 6: "mus"
  9. date_n: "1978-01-13"
  10. loisirs: "mus"
  11. nom: "BORDAS"
  12. num: "27"
  13. prenom: "Marie"
  14. service: "comm"
  15. titre: "3"
  16.    
  17. $.ajax( {
  18.     url: 'edit.php',
  19. type: 'post',
  20. dataType: 'json',
  21. data: { id: person }
  22. }).done( function( results ) {
  23. console.log( results );
  24. console.log( results.prenom );
  25. });
  26.    
  27. $.each( results, function( key, value ) {
  28.     console.log( value.prenom );
  29. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top