Fri Nov 20 2020 06:20:59 GMT+0000 (Coordinated Universal Time)
Saved by @eneki
function refreshPendingIncidents() { return $.ajax({ type: 'GET', url: '/pending-incidents/refresh/' + "{{ $reports[0]->id }}" }); } refreshPendingIncidents().done(function(result) { console.log(result) console.log('res') }).fail(function() { console.log('fail') });
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments