Using select menu to show/hide searchable items? JQMobile

Using select menu to show/hide searchable items? JQMobile

How could you integrate the select menu to render what a user can search? Maybe show/hide groups.. like a "search by location" option and certain location-specific elements would dissapear?

Thanks in advance.