我想创建使用jquery移动的圆形样式复选框。在下面的链接,在多重选择下,选择选项选择菜单,我看到了这种类型的复选框。是否有可能在JQM的listview中创建这种类型的复选框?圆形复选框使用jquery移动
http://jquerymobile.com/test/docs/forms/selects/custom.html#&ui-state=dialog
谢谢...
我想创建使用jquery移动的圆形样式复选框。在下面的链接,在多重选择下,选择选项选择菜单,我看到了这种类型的复选框。是否有可能在JQM的listview中创建这种类型的复选框?圆形复选框使用jquery移动
http://jquerymobile.com/test/docs/forms/selects/custom.html#&ui-state=dialog
谢谢...
<ul data-role="listview" id="options">
<li data-icon="checkbox-off"><a>test</a></li>
<li data-icon="checkbox-on"><a>test</a></li>
</ul>
这段代码使得对列表视图圆边,你可以有任何元素里面:
<ol data-role="listview">
<li class="ui-corner-bottom ui-corner-top" data-theme="a" ><a href="#">List Item 1</a></li>
<li class="ui-corner-bottom ui-corner-top" data-theme="a"><a href="#">List Item 2</a></li>
<li class="ui-corner-bottom ui-corner-top" data-theme="a"><a href="#">List Item 3</a></li>
</ol>
这里查看演示
感谢您的回复。是的,我需要这样的复选框,但不是图标格式。用户应该启用或禁用他/她自己的愿望复选框,而不是上述默认的开/关状态。我想以四舍五入格式设置JQM表单元素复选框。那可能吗? – Subha 2012-03-26 08:41:51