asyncWidget
lebroncho opened this issue · comments
lebroncho commented
I have a problem in my blade file where asyncWidget didn't work and it didn't show.
`@extends('adminlte::page')
@section('title', 'PWC of Davao Queue System')
@section('content_header')
@asyncWidget('next_call')
@section('js')
<script type="text/javascript"> $('#update').click(function(){ $.ajax({ type:'post', url: 'updatecall', data:{ '_token':$('input[name=_token]').val(), 'id':$('input[name=call_id]').val(), }, success:function(data){ window.location.reload(); setInterval(function() { $('#update').load('{{ action('DetailController@index') }}'); }, 1000); }, }); }); //$(document).ready(function() { //}); </script>@Stop
`
it didn't appear