|
本帖最后由 sohappyoh 于 2015-10-12 16:30 编辑
请教:会Jquery-mobile,CheckBox怎么动态添加很多条目? 主要是命名规则是什么,目前试了多次都有问题? a, b, c是干嘛的
是我搞错了,abc好像没意义,OK了
- <form>
- <fieldset data-role="controlgroup" data-type="horizontal">
- <legend>Horizontal:</legend>
- <input type="checkbox" name="checkbox-h-2a" id="checkbox-h-2a">
- <label for="checkbox-h-2a">One</label>
- <input type="checkbox" name="checkbox-h-2b" id="checkbox-h-2b">
- <label for="checkbox-h-2b">Two</label>
- <input type="checkbox" name="checkbox-h-2c" id="checkbox-h-2c">
- <label for="checkbox-h-2c">Three</label>
- </fieldset>
- </form>
复制代码
|
阿莫论坛20周年了!感谢大家的支持与爱护!!
月入3000的是反美的。收入3万是亲美的。收入30万是移民美国的。收入300万是取得绿卡后回国,教唆那些3000来反美的!
|