Reputation: 908
I am creating a iPhone website using jQuery Mobile and Javascript and I am attempting something that doesn't seem to have been attempted before as their are no actual tutorials on it.
I want to add a check-box to a Listview item I have tried to modify every single example that are available on the jQuery website but I can not seem to get the effect I am looking for. Any suggestions
code I have which does not include the 10 million other codes that i have tried
<div class="content-primary">
<ul data-role="listview">
<li><a href="index.html">
<img src="images/album-bb.jpg" />
<h3>Broken Bells</h3>
<p>Broken Bells</p>
</a></li>
</ul>
</div>
Below is the image to clarify what I want to achieve:
Upvotes: 0
Views: 1102
Reputation: 1380
<div class="content-primary">
<ul data-role="listview">
<li><input type="checkbox" ><img src="images/album-bb.jpg" style="float:left" />
<a href="index.html">
<h3>Broken Bells</h3>
<p>Broken Bells</p>
</a></li>
</ul>
</div>
Upvotes: 2