Re: Simple Ajax Search

2023-11-25 Thread Mithilesh Rawani
Mithilesh rawani software developer deoghar Jharkhand +91 9572990020 On Sun, 26 Nov 2023, 6:58 am Kwarteng, wrote: > you can try typeahead.js > > https://twitter.github.io/typeahead.js/ > > On Thursday, 23 November 2023 at 15:10:24 UTC raghav bajaj wrote: > >> You can make an AJAX call using the

Re: Simple Ajax Search

2023-11-25 Thread Kwarteng
you can try typeahead.js https://twitter.github.io/typeahead.js/ On Thursday, 23 November 2023 at 15:10:24 UTC raghav bajaj wrote: > You can make an AJAX call using the oninput event of the search input > field. Use a GET method to fetch the results from the DB in the AJAX call. > > On Thu, Nov

Re: Simple Ajax Search

2023-11-23 Thread raghav bajaj
You can make an AJAX call using the oninput event of the search input field. Use a GET method to fetch the results from the DB in the AJAX call. On Thu, Nov 23, 2023 at 6:06 PM lone...@gmail.com wrote: > Hello all, > >I am looking for a simple how-to on creating an interactive search on a >

Re: Simple Ajax Search

2023-11-23 Thread lone...@gmail.com
A stipulation that I forgot to mention is that the desired drop down selections will be coming from an external API. I did not see the package calling out to an external API, will this still work? On Thursday, November 23, 2023 at 9:09:11 AM UTC-5 Thomas Couch wrote: > I think Select2 is a well

Re: Simple Ajax Search

2023-11-23 Thread Thomas Couch
I think Select2 is a well trodden path for this sort of thing (unless I'm mistaken, it's already available in the admin interface). Have a look at the django-select2 package: https://django-select2.readthedocs.io/en/latest/ On Thursday, November 23, 2023 at 12:36:23 PM UTC lone...@gmail.com wrot

Simple Ajax Search

2023-11-23 Thread lone...@gmail.com
Hello all, I am looking for a simple how-to on creating an interactive search on a text field. As the user types the search results change and the user can click on the search result that they want. I have installed jquery3 and bootstrap5 in my django project. Thank you. -- You received