0
Talk, you guys, next:
I have names of users coming from mysql BD being displayed on the screen each in their respective div, and I have a search input that when something is typed in it would like the Divs with the names of users that did not match what was typed were hidden from the screen.
The challenge is as follows: Do this without refreshing the page, and without requesting other pages with ajax (the two forms I know how to do). I would like to make this filter only with Javascript/jQuery on the page itself.
I wonder if there’s a way?
Thanks so much for any help.
You have two very similar questions to yours that might help you. this and this other
– Murilo Portugal
It was worth @Muriloportugal, but this would not be the case, because as I said, via Post or Get with ajax sending to another page and ordering the data without refresh I know how to do. The real challenge is to know if I can do this only with Javascript/Jquery without ordering anything from other pages, just inside the current one, hiding the Divs with user names that do not match what was typed in the search/filter input.
– Wanderson Borges
Got it, I thought your input would do a database search as the user type. I will create a response with the code that can help you.
– Murilo Portugal
Thank you so much for the service @Muriloportugal. I look forward to...
– Wanderson Borges