xxxxxxxxxx
toastr.options =
{
"closeButton" : true,
"progressBar" : true
}
toastr.success(response.message);
xxxxxxxxxx
$(document).ready(function () {
@if(Session::has('success'))
toastr.success("{{ Session::get('success') }}", "Success");
@endif
@if(Session::has('error'))
toastr.error("{{ Session::get('error') }}", "Error");
@endif
});