Best tutorial ever! I've been looking for this kind of content for a long time. Awesome!
@gorreon5 ай бұрын
I'm just curious. If the inputs were wrong, or validated, wouldnt that close the modal?
@AmitKumar-un6so3 жыл бұрын
Thanks a lot your teaching way is very impressive please make a video on data insert in bootstrap 4 datatable
@piotrkowalczak42702 жыл бұрын
Great tutorial, wish you all the best man :)
@carlogalola78264 жыл бұрын
How about if you have multiple modal or with 'next' button to go to next modal and second modal have a save button
@savanrathod79433 жыл бұрын
Route not working in laravel 8 it shows target class does not exist
@AmanMehra-z7b Жыл бұрын
i understand but one problem employee model confusion
@beatrizsilva15363 жыл бұрын
Hi! can you help me? I need to create a session CRUD. I have to pass data from one form to another, and include this second form in the database ... Is it possible?
@samairaakhtar16902 жыл бұрын
Sir plzzz ek aisa vdo bnaye jisme view click hone pr popup modal open ho or usme wk particular user ka Sara data display ho....
@hammadhassan27544 жыл бұрын
Undefined offset: 1 please how to solve this error?
@RHCIPHER4 жыл бұрын
in laravel 6 put action={{url('employee/create')}} only if you using Route::resource not get
@arczhar12044 жыл бұрын
Kinda weird everything form 1st video to this its all working except showing the modal form :( Why is this I just follow everything in the video :) does the version of laravel affect this?
@fundaofwebit4 жыл бұрын
Laravel version does not effect.. To work modal.. Include 1st jQuery.js 2nd bootstrap.js 3rd check your modal id from where your button name modal attribute shld match both as same.. Then it will work fine.
@arczhar12044 жыл бұрын
@@fundaofwebit The only modal does not pop up is the edit modal. When i click the button edit nothing appear, but when i click add data the add modal form pop up, i already triple check the code,jquery, bootstrap nothing wrong,all codes in the video working except showing the edit modal :( if i can only show the code here anyways i think my laptop has problem
@fundaofwebit4 жыл бұрын
When you click on edit btn using class... Check using alert('hello') that your script is working fine... After that check your form of modal id... N then come to ur script n then check your id is correct in your modal function.. Modal id="myeditmodal" $('#myeditmodal').modal('show');
@arczhar12044 жыл бұрын
@@fundaofwebit tried changing btn using alert is not working, here is the code Modal title × {{csrf_field() }} {{ method_field('PUT') }} First Name Last Name Address Mobile Close Update Data Laravel CRUD: with Bootstrap Modal @if(count($errors) > 0) @foreach ($errors->all() as $error) {{$error}} @endforeach @endif @if(\Session::has('success')) {{\Session::get('success') }} @endif Add Data ID First Name Last Name Address Mobile No. Action ID First Name Last Name Address Mobile No. Action @foreach ($emps as $empdata) {{ $empdata->id }} {{ $empdata->fname }} {{ $empdata->lname }} {{ $empdata->address }} {{ $empdata->mobile }} EDIT DELETE @endforeach $(document).ready(function () { var table = $('#datatable').DataTable(); //Start Edit Record table.on('click', 'edit', function () { $tr = $(this).closest('tr'); if ($($tr).hasClass('child')) { $tr = $tr.prev('.parent'); } var data = table.row($tr).data(); console.log(data); $('#fname').val(data[1]); $('#lname').val(data[2]); $('#address').val(data[3]); $('#mobile').val(data[4]); $('#editForm').attr('action','/employee/'+data[0]); $('#editModal').modal('show'); }); //End Edit Record }); i gues there is problem with the version of javascript, in your video the version 1.10.18 while im using 1.10.21
@SnakeErw984 жыл бұрын
Thanks man, your video helped me a lot. Any way to donate you?
guys i guess it's action '{{}} ' not action 'action=({{}}) ' it worked for me
@jason-bacalla4 жыл бұрын
this is from form action?
@pritipandya8624 жыл бұрын
When i insert data success message in not shown to me
@umitcatal2 жыл бұрын
validation ?
@Pumhesho5 жыл бұрын
Gracias por los cositos
@sibityson66193 жыл бұрын
i ma facing this Error 127.0.0.1:8000/['action'%20=%3E%20'App/Http/Controllers/MemberController@store'] this is in url and on page i face 404 not find please give me answer