javascript - JQuery Mobile fieldset options can be seen under control -
i'm trying build interface jquery mobile option buttons can seen under controls. how can make disappear?
<fieldset data-role="controlgroup" data-type="horizontal" id="time-period-type"> <input type="radio" name="time-period" id="weekly-time-period" value="weekly" checked="checked"> <label for="weekly-time-period">weeks</label> <input type="radio" name="time-period" id="monthly-time-period" value="monthly"> <label for="monthly-time-period">months</label> <input type="radio" name="time-period" id="yearly-time-period" value="yearly"> <label for="yearly-time-period">years</label> </fieldset>
#time-period-type > input{ display : none; //opacity : 0; }
<fieldset data-role="controlgroup" data-type="horizontal" id="time-period-type"> <input type="radio" name="time-period" id="weekly-time-period" value="weekly" checked="checked"> <label for="weekly-time-period">weeks</label> <input type="radio" name="time-period" id="monthly-time-period" value="monthly"> <label for="monthly-time-period">months</label> <input type="radio" name="time-period" id="yearly-time-period" value="yearly"> <label for="yearly-time-period">years</label> </fieldset>
set display : none
input element or else add opacity :0
Comments
Post a Comment