Ok so I am using:
<ul id="residentList" data-role="listview" data-inset="true" data-filter="true" />
//Now follows the list
<ul>
So this is easy, but what I basicaly also want is a checkbox. When checked it should filter on a certain string.
Do jquerymobile have this functionality? How can I achieve this. It will be super if I can Filter based on the Checked state of the checkbox + also whatever is in the Searchbox
Yes...
http://api.jquerymobile.com/filterable/
The filterable widget will work within any tag, not just ul/ol listviews. Look at the demos page as they have a variety of different methods that should interest you. Since you are using listview, be sure to perform
after you have made changes/updates.