buttons in list?

buttons in list?

Hello,

is it some how possible to have buttons in listview using jquery mobile?

I want to acheve to have controls for list view. I tested following code, but it is badly broken...

  1. <ul data-role="listview" data-inset="true">
  2.     <li data-role="list-divider">Heading</li>
  3.     <li>object</li>
  4.     <li>
  5.         <div data-role="controlgroup" data-type="horizontal" >
  6.             <a href="index.html" data-role="button" data-icon="arrow-u" data-iconpos="notext">Up</a>
  7.             <a href="index.html" data-role="button" data-icon="arrow-d" data-iconpos="notext">Down</a>
  8.             <a href="index.html" data-role="button" data-icon="delete" data-iconpos="notext">Delete</a>
  9.         </div>
  10.     </li>
  11. </ul>