1 year ago
#382590

jialeee17
How to re-render the @section in Laravel Blade template?
I'm new to Laravel. May I know is there a way to replace the @section without reloading the page using Laravel Blade template? For example, I have a @section('content') showing 2 different payment methods to let the user choose. When the user choose either one, I want to replace the @section('content') with another view that let the user proceed with the payment.
@section('nav')
// View that display 2 different payment methods
// When user selects either one, replace this @section('nav') with another view
@endsection
php
laravel
laravel-blade
0 Answers
Your Answer