skip to Main Content

Laravel – How to display "view" with XML file?

Oh, how ridiculously I formulated the question)) I’ll try in more detail. I have a route: Route::get('/parsers/settings/{id}', [AdminParserController::class, 'settings']) ->where('id', '[0-9]+') ->name('parsers::settings'); Then I select the required element from the XML file and convert it to a string: $xml =…

VIEW QUESTION

Laravel – How to delete data properly?

This is my delete button <!-- Hapus Data --> <button type="button" class="btn btn-danger" data-bs-toggle="modal" data-bs- target="#exampleModal"> Hapus </button> <!-- Modal --> <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel"> Apakah anda yakin…

VIEW QUESTION

AJAX in Laravel Blade ignoring div class

I'm very new at AJAX JavaScript, and i got tast for filtering data in Laravel 10 without refresh using AJAX but no luck yet. This is the code for my blade view : <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script type="text/javascript"> const clickableElements =…

VIEW QUESTION

LARAVEL: How to display data from bootstrap modal?

I'm having problems with displaying data from modal. It works outside the modal but inside modal it only iterates 1 data. @foreach ($addresses->sortByDesc('status') as $address) <div class="col"> <div class="row g-0 flex-column">{{-- EDIT --}} <div class="col-12 col-lg-8 col-xl-7 col-xxl-5 d-flex justify-content-between">…

VIEW QUESTION

Jquery – Bootstrap Toasts instead of Bootstrap alert in Laravel

I am currently using Bootstrap Alert to show the message in laravel application @if(Session::has('message')) <div class="alert alert-{{ session('class') }} alert-dismissible fade show rounded-0" role="alert"> <i class="fa fa-{{ session('icon') }}"></i> {{ session('message') }} <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> </div> @endif But…

VIEW QUESTION
Back To Top
Search