jQuery Mobile系列之Checkboxes
来源:互联网 发布:淘宝改价违规清除销量 编辑:程序博客网 时间:2024/04/19 20:59
<</CODE>form
>
<</CODE>label
>
<</CODE>input
type
=
"checkbox"
name
=
"checkbox-0 "
>Check me
</</CODE>label
>
</</CODE>form
>
checkbox要么包裹在label里面,或者如下
<</CODE>form
>
<</CODE>input
type
=
"checkbox"
name
=
"checkbox-mini-0"
id
=
"checkbox-mini-0"
class
=
"custom"
data-mini
=
"true"
>
<</CODE>label
for
=
"checkbox-mini-0"
>I agree</</CODE>label
>
</</CODE>form
>
label的for属性为对应的checkbox的id
其他的就类似Buttons了,data-mini = "true" data-role ="controlgroup"如下
<</CODE>form
>
<</CODE>fieldset
data-role
=
"controlgroup"
>
<</CODE>legend
>Vertical:</</CODE>legend
>
<</CODE>input
type
=
"checkbox"
name
=
"checkbox-v-2a"
id
=
"checkbox-v-2a"
>
<</CODE>label
for
=
"checkbox-v-2a"
>One</</CODE>label
>
<</CODE>input
type
=
"checkbox"
name
=
"checkbox-v-2b"
id
=
"checkbox-v-2b"
>
<</CODE>label
for
=
"checkbox-v-2b"
>Two</</CODE>label
>
<</CODE>input
type
=
"checkbox"
name
=
"checkbox-v-2c"
id
=
"checkbox-v-2c"
>
<</CODE>label
for
=
"checkbox-v-2c"
>Three</</CODE>label
>
</</CODE>fieldset
>
</</CODE>form
>
data-iconpos = "right"
data-theme = "*"
- jQuery Mobile系列之Checkboxes
- jQuery Mobile系列之Accordion
- jQuery Mobile系列之Buttons
- jQuery Mobile系列之Collapsible
- jQuery Mobile系列之Dialogs
- jQuery Mobile系列之Fixed&nb…
- jQuery Mobile(Popup)
- jQuery Mobile设计思想
- jquery mobile 切换页面
- jQuery Mobile 手动显示…
- webapp系列开发之五:Jquery Mobile配置
- Checkboxes
- jQuery Mobile 组件 之 按钮
- jQuery Mobile 组件 之 表单
- jQuery Mobile学习教程系列文章推荐
- jquery mobile学习教程之初识Jquery mobile 一
- Jquery mobile学习教程之Jquery mobile 二 页面结构
- How to retrieve checkboxes values in jQuery
- jQuery Mobile系列之Accordion
- 得到Class的三种方式
- QT绘图基础
- jQuery Mobile系列之Buttons
- window下Qt开发环境的搭建
- jQuery Mobile系列之Checkboxes
- Qt窗口部件之行编辑器
- jQuery Mobile系列之Collapsible
- C中的预编译宏定义
- jQuery Mobile系列之Dialogs
- QT控件——ui界面简单实现一些功能
- jQuery Mobile系列之Fixed&nb…
- Qt笔记(1)
- (转载)DCMTK3.6.0(MD支持库)安装说…