greens85 Posted July 14, 2009 Share Posted July 14, 2009 Hi all, Can anybody on here point me in the right direction as to how to replicate something similar to this search box... www.educationvacancies.com Once you select a regions, the cities from that region are displayed, however if you only wish to search a region, you can leave the city box blank and all jobs from the region are returned. I would like the regions and cities to be 'brought' from a database is possible? any advice would be greatly appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/165923-search-box/ Share on other sites More sharing options...
JonnoTheDev Posted July 14, 2009 Share Posted July 14, 2009 This is done with an ajax request and a bit of DOM scripting. Here is a simple demo: http://www.satya-weblog.com/2007/04/dynamically-populate-select-list-by.html Quote Link to comment https://forums.phpfreaks.com/topic/165923-search-box/#findComment-875203 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.