how to add 2 radio button horizontal to listview in jquery mobile -


i want add 2 radio button horizontal in every row simplelistview

sample

enter image description here

you use absolute positioning:

<ul data-role="listview" data-inset="true" class="mycustomul">     <li data-icon="false">          <a href="#">             accura         </a>         <div class="cust-btns">             <fieldset data-role="controlgroup" data-type="horizontal">                 <input type="radio" name="radio-choice-h-1" id="radio-choice-h-1a" value="on" checked="checked" />                 <label for="radio-choice-h-1a">one</label>                 <input type="radio" name="radio-choice-h-1" id="radio-choice-h-1b" value="off" />                 <label for="radio-choice-h-1b">two</label>             </fieldset>         </div>     </li> </ul>  .mycustomul li > {     padding-right: 139px !important;     min-height: 40px; } .mycustomul .cust-btns {     position: absolute;     top: 0px;     width: 139px;     bottom: 0px;     right: 0px;     left: auto; } 

demo


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -