Is it possible to put some action/select in the button of the row in jquery mobile listview?
Here's the code I tried but it doesn't work. I have no idea if this can be done ?
<ul data-role="listview" data-split-icon="gear">
<li>
<a href="/somewhere/">Somewhere description</a>
<div data-role="controlgroup" data-type="horizontal">
<a href="/somewhere/delete/">ble</a>
<a href="/somewhere/delete/">Delete</a>
</div></li>
</li>
</ul>
There are two options I would find helpful. - 2 icons (delete & edit icon) instead of one "gear" icon) or - one icon which inits select (edit/delete) or some kind of dialog with 2 options to select.