skip to Main Content

Laravel how to access, in a view, a value passed by a controller, but inside a script section-Twitter bootstrap

From a request handler I pass a parameter to a request view: public function sol_solicitante(Request $request, $param){ return view('solicitante.solicitudes', compact('param')); } The view that the controller invokes is: @extends('layouts.app') @section('title','Buzón Solicitudes') @section('css') <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.css"> <link rel="stylesheet" href="https://cdn.datatables.net/1.10.22/css/dataTables.bootstrap4.min.css"> <link rel="stylesheet"…

VIEW QUESTION

How to have another "alert" for every form in ajax requesting? – Jquery ajax

let getLoginPassSystem = function (getPassForgotSystem, getLoginCheckSystem) { $(document).ready(function () { $('#login,#lostpasswordform,#register').submit(function (e) { e.preventDefault(); $.ajax({ type: "POST", url: 'http://www.virtuelles-museum.com.udev/spielelogin/logsystem.php', data: $(this).serialize(), success: function (response) { var data = JSON.parse(response); if (data.success == "accepted") { document.getElementById('inner').innerHTML = 'Herzlich Willkommen'; // location.href…

VIEW QUESTION
Back To Top
Search