Remove border line from listview
Description
The following code shows how to remove border line from listview.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.3.js'></script>
<script type="text/javascript"
src="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.css">
<script type='text/javascript'>
$(window).load(function(){<!-- w w w .ja v a2 s . com-->
$('#noBorders').children().removeClass('ui-body-c');
});
</script>
</head>
<body>
<div data-role="page">
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">List Items</li>
<li>Item #1</li>
<li>Item #2</li>
<li>Item #3</li>
<li>Item #4</li>
<li>Item #5</li>
</ul>
<ul data-role="listview" data-inset="true" id="noBorders">
<li data-role="list-divider">List Items no borders</li>
<li>Item #6</li>
<li>Item #7</li>
<li>Item #8</li>
<li>Item #9</li>
<li>Item #10</li>
</ul>
</div>
</div>
</body>
</html>