Welcome to the Treehouse Community
Looking to learn something new?
nicholas maddren12,793 Points
How has this search been developed?
Hey guys I'm trying to work out how this list search has been developed if you take a look here:
As you can see when the search is filtered the listings automatically update, I have never seen any tutorials on how to do this in PHP so I'm wondering if a bit of JS might have been implemented?
Here is the link to the site: http://www.motors.co.uk/search/car/reduced
Any idea how this might have been done? Every search I have made has always needed an update button to trigger the search.
I went the JSON route. Had to filter out nasty characters from the input and search the database for matching students and store them in json format so my js script could retrieve the student names, profiles pictures and inject them into the dom.