css - Group input to same row in Jquery mobile -
i'm using jquery mobile , group 2 input buttons (plus/minus) , 1 input text same row using data-type="horizontal"
.
fiddle show how looks today: http://jsfiddle.net/ezanker/hhken790/4/
i similar to:
<div data-role="controlgroup" data-type="horizontal" > <a href="index.html" data-role="button" data-icon="minus" data-iconpos="notext">minus</a> <a href="index.html" data-role="button">value here</a> <a href="index.html" data-role="button" data-icon="plus" data-iconpos="notext">plus</a> </div>
but input button support , value added input.
you can effect content grid provided within jquery mobile.
<div class="qtywrapper ui-grid-b"> <div class="ui-block-a"> <input type="button" value="-" class="qtyminus" /> </div> <div class="ui-block-b"> <input type="text" name="myinputs[qty][]" value="0" class="qty" class="ui-block-b" /> </div> <div class="ui-block-c"> <input type="button" value="+" class="qtyplus" class="ui-block-c" /> </div> </div>
Comments
Post a Comment