Filter two collapsible controls

Description

The following code shows how to filter two collapsible controls.

Example


<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet"
  href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" />
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script
  src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-git2.js'></script>
</head><!--   w ww. j  a  v a2  s . c o m-->
<body>
  <div data-role="page" id="page">
    <div data-role="content">
      <h1>Collapsible set with search</h1>
      <div data-role="collapsible-set" data-filter="true">
        <div data-role="listview" data-inset="true" data-filter="true">
          <div data-role="collapsible">
            <h1>Numero uno</h1>
            <div>some text</div>
          </div>
          <div data-role="collapsible">
            <h1>Number two</h1>
            <div>some text</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</body>
</html>

Click to view the demo





















Home »
  jQuery Mobile »
    Example »




Button
Button Event
Button Icon
Button Text
Checkbox
Collapsible
Date
Dialog
Event
Footer
Form
Header
Icon
Input
Layout
Listview
Listview Divider
Listview Item
Loader
mobile_settings
Navbar
Page
Page Event
Popup
Radio
Select
Slider
Switch
Textarea
Theme