how to implement custom filter like list filter?

how to implement custom filter like list filter?

Hello - I want to implement a search page in jQuery Mobile.  At the top of the search page I want to include search criteria filters like the one provided by the framework for the navigation list. However, I want the search criteria filters to make ajax calls to a lookup web service as opposed to filter a predefined list.

So how can I implement the look and feel of the list search filter but built as a stand-alone control that lets me make custom ajax calls?