<?php $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="_token"]').attr('content') } }) $.ajax({ url: $(this).attr('action'), dataType: 'text', cache: false, contentType: false, processData: false, data: form_data, type: 'post', success : function(fssp){ console.log(fssp); }, error: function(fssp) { console.log(fssp); } });
You have javascript disabled. You will not be able to edit any code.