Add divider to listview
Description
The following code shows how to add divider to listview.
Example
<!-- w w w.jav a 2s .c o m-->
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.4.js'></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css">
<script type='text/javascript'
src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head>
<body>
<div data-role="page" data-theme="d">
<div data-role="content">
<ul id="lv" data-role="listview" data-inset="true" data-theme="c"
data-dividertheme="b">
<li data-role="list-divider">List Divider</li>
<li><a href="#">
<h3>This is an anchor inside a h3</h3>
<p>Paragraph text</p>
</a></li>
<li data-role="list-divider">List Divider</li>
<li><a href="#">
<h3>This is an anchor inside a h3</h3>
<p>Paragraph text</p>
</a></li>
</ul>
</div>
</div>
</body>
</html>