Add text input item to listview
Description
The following code shows how to add text input item to listview.
Example
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script
src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
</head><!-- w w w . jav a2s. c o m-->
<body>
<div data-role="page">
<div data-role="header">
<h1>My Title</h1>
</div>
<!-- /header -->
<div data-role="content">
<ul data-role="listview">
<li><a href="#">
<img width="80" height"80" src="http://placehold.it/100x100" />
<h3>New Latest One</h3>
<p>$12,000</p>
<input type="text" style="width: 75px" />
</a></li>
</ul>
</div>
<!-- /content -->
</div>
<!-- /page -->
<style>
.ui-input-text {
width: 75px;
}
</style>
</body>
</html>