Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.post(
- './ajax/deleteLunch.php',
- {
- dayLunch : dayLunch,
- idParticipant : idParticipant
- },
- function(data) {
- data = data.trim();
- if(data !== '-1') { location.assign("./enterprise_choice_lunches.php"); }
- else { toastr.error('Le repas n\'a pas été supprimé.', 'Échec.'); }
- },
- 'text'
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement