php – How to display departments as nodes in Laravel
Questions: I have a table i db ‘departments’ .I want it do display it with jstree.I have a parent_id,the root node that is 0 and another that is 1 .I have problems in displaying them in a ...
Questions: I have a table i db ‘departments’ .I want it do display it with jstree.I have a parent_id,the root node that is 0 and another that is 1 .I have problems in displaying them in a ...
Questions: I am trying to get result from controller to blade using ajax but it is showing undefined Controller Code function fetchDetail(Request $request){ $iname=$request->get('iname'); $data = a...
Questions: So I am trying to create a form where the user can add a book to the database. I wanted to use the select bars from Select2, which allow the user to search for the select elements. I follow...
Questions: I have two forms, the form1 contains the date and a show button that hides the form1 and displays the form2 which also contains a table salaries and checkboxes and a validation button, I wa...
Questions: I have a date form that I want to fill in the value of ajax response, on the server side I use laravel and the data form becomes like this 2020-02-18 i try with this code, but it doesn̵...
Questions: Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 days...
Questions: In Laravel Blade I have a script for searching <script type="text/javascript"> $.ajax({ type: "POST", headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, url: "...
Questions: <div class="col-xs-12 col-sm-12 col-md-12 text-center "> <button id="finish" class="btn btn-primary">finish</button> </div> //script $('#addNew').click(function(cb){...
Questions: I have column status in database with boolean value 0 and 1. 0 means user is shown and 1 means user is hidden. This is my button <button class="btn btn-info btn-sm btn_show" type="button...
Questions: I’m working on a shopping cart with Laravel. I’ve made an update that should update the shopping cart quantity dynamically without refreshing the page. Route : Route::patch('/pa...