Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#loader').hide();
- $('[title="Editer"]').click(function () {
- $('#loader').show();
- $.ajax({
- type: "POST",
- url: "{{ path('Uoi_DispoAppli_infoIndispo') }}",
- data: $(this).attr('id'),
- cache: false,
- dataType: 'html',
- success: function (data) {
- $('#loader').hide();
- // $('#result').html(DATA);
- alert(data);
- },
- error: function () {
- $('#loader').hide();
- $('#result').html('error');
- }
- });
- return false;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement