SHARE
TWEET

Untitled

a guest May 22nd, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $.post(
  2.                 './ajax/deleteLunch.php',
  3.                 {
  4.                     dayLunch : dayLunch,
  5.                     idParticipant : idParticipant
  6.                 },
  7.                 function(data) {
  8.                     data = data.trim();
  9.                     if(data !== '-1') { location.assign("./enterprise_choice_lunches.php"); }
  10.                     else { toastr.error('Le repas n\'a pas été supprimé.', 'Échec.'); }
  11.                 },
  12.                 'text'
  13.             );
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