arrilot / laravel-widgets

Widgets for Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

asyncWidget

lebroncho opened this issue · comments

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') 

@Stop

@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
`

image

it didn't appear