lundi 21 septembre 2015

Loading laravel view with ajax

I am new to web development.I am using laravel for my app where i used blade templates for creating pages.I have a main blade in which my header and footer exist and i am using it as wrapper.I want all of other pages to be open in that without reloading that base template and when i open the page it extends the main wrapper with new view correctly but when i update that page's content with ajax content of that page doubles the footer that may be because @includes() that creates a new page within existing one but i want to fix that double content and footer.Please help!Here is the code of pages that i used to load within the main wrapper

@extends('wrappertemplate')
@section('content')
<div class="body-content">`
And the content is here 
</div>
@stop



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire