Add button to list divider
Description
The following code shows how to add button to list divider.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.js'></script>
<script type='text/javascript'
src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css">
</head><!-- w ww . ja v a 2 s. co m-->
<body>
<div data-role="page" id="p1">
<div data-role="header">
<h1>Header Page 1</h1>
</div>
<div data-role="content">
<ul data-role="listview" data-inset="true" data-divider-theme="a">
<li data-role="list-divider">List Header
<div style="text-align: right;">
<a href="#" data-role="button" data-mini="true" data-icon="plus"
data-inline="true" data-theme="a">Add</a>
</div>
</li>
<li>List item 1</li>
</ul>
</div>
<div data-role="footer">
<h4>Footer</h4>
</div>
</div>
</body>
</html>