Ajax Autocomplete in Laravel
HTML-код
- Опубликовано: 5 июн 2018
- Learn Laravel autocomplete from Mysql database using Ajax JQuery. How to make Ajax autocomplete textbox in Laravel using Jquery. Laravel Autocomplete search from database using Ajax jquery. Simple Autocomplete Laravel example using Ajax JQuery Mysql.
For Source Code - www.webslesson.info/2018/06/a...
you are rock, tanks!!!
Thanks for the tutorial :D
Thank You Friend
Your tuts help me too much :)
thanks so much it help me.. as a beginer i want to learn that thanx u so much
Friend, thanks for the tutorial ;)
Works nicely...
Thanks, it worked
Thank you sir :D
nice video, thansk!!!!
Thanks You alot! Sir
Thanks You Man, Is Very Good Tutorial!!
Gracias!
Hi, how do I add a value attribute so that I can save the value attribute when the user click save. example database table would have index and country name how do i include the index so i can use it later?
Thank you so much, it work.. but i wanna make the box show "no result" if no match found. how can i achieved that?
How do I do a search autocomplete on the subform I have tried but it doesn't work but at the beginning of the form it works
sir can you tech me how to get current button value after refresing the page like in toggle button 0 or 1 on/off
make a video on this it wll b so, helpfull Thanks in Advance.
using ajax
hi. I've used this tutorial. I noticed that the dropdown doesnt fade out even it has no match data on database.. how can i fade it out if it has no value match in db? thanks
up
$(document).on('click', 'li',function(){
$('#country_name').val($(this).text());
$('#countryList').fadeOut();
});
/*add this block of code*/ /* the list will be fadeout whenever u click elsewhere*/
$(document).click(function(){
$('#countryList').fadeOut();
});
if i want to make this input dynamic create how autocomplete will work with this all
Great video, though I get a "500 (Internal Server Error) on the POST of my route. I triple checked and everything is spelled correctly. Ideas? Thanks!
Same error a few days ago.. Try this for your data query where clause (at 10;31 in the video) : ->where('country_name'),'LIKE','%'.$query.'%') . Now, I got the list well populated but I don't know why the div never appear. I can see with the debugger that the list is well updated as I type a country name but nothing appear. Maybe because I use a particular bootstrap template .. I don't know.
My bad, my bad ... keep in mind that develop at 3.00 am can make you write = when they tell to write : ... thanks to @webslesson for this video.
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
Hello sir. It is Not working over Https
Value is not inserting on click in text box. Please help would be appreciated
Hi I saw your video and wanted to make it dynamic route like this
"{{ url('shop/' . $product->curl . '/' . $product->cat_url . '/' . $product->purl) }}"
Can you give me an example please
Sir next video make a CMS website tutorial please
I need do this for 2 inputs in the same page, but onclick event complete the 2 inputs in the same time. What can I do?
hello sir have you find the solution of this ??? please help me how to sort this?
Did u find out how ?
thanks
Do u know what MVC means?
Model View Controller
Excellent video but does not save id to input. That would have made it more useful in app development.
please make this video with react node js
Please sir how to make login and sign up in laravel framework
Hi sagar, we have already make laravel login tutorial, you can find here - ruclips.net/video/OUFmwAnFclo/видео.html. Check it.
php artisan make:auth
what does the .= means?
you add the value to the actual content of the variable. I a = 'cool' and b = 'nice' if you do a=b then a will equal to 'nice' but if you do a.=b you will have a='coolnice'
@@artnforces.editions thanks.
internal server error with request code 500
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
error 405 T_T
Your voice like robot please clear your voice sir