checkbox 和radio

 <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<link rel="stylesheet" type="text/css" href="../jquery.mobile-1.4.5.min.css">
<script type="text/javascript" src="../jquery-1.12.0.min.js"></script>
<script type="text/javascript" src="../jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>hello</h1>
</div>
<div data-role="content">
<label>
<input type="checkbox" >
<!-- 将复选框放在label当中使内容和复选框同行显示,而不重叠 -->
苹果<!-- 复选框 -->
</label>
<fieldset data-role="controlgroup"><!-- date-role="controlgroup" -->
<!-- date-role="controlgro"将内容放在一组内进行显示 -->
<label>
<input type="checkbox" name="cb0">12
</label>
<label>
<input type="checkbox" name="cb1">12
</label>
<label>
<input type="checkbox" name="cb1">12
</label>
</fieldset>
<fieldset data-role="controlgroup" data-type="horizontal">
<!-- 默认为竖向,若需要改成横向,加上data-type="horizontal" -->
<label>
<input type="checkbox" name="cb0">12
</label>
<label>
<input type="checkbox" name="cb1">12
</label>
<label>
<input type="checkbox" name="cb1">12
</label>
</fieldset>
<!-- 单选按钮 -->
<fieldset data-role="controlgroup" data-type="horizontal">
<!-- data-role="controlgroup"形成列表组 data-type="horizontal"形成横向的列表组-->
<label>
<input type="radio" name="r1" id="name">男</label>
<label>
<input type="radio" name="r1" id="women">女
</label>
</fieldset>
</div>
<div data-role="footer">
<h1>welcome</h1>
</div>
</div>
</body>
</html>

显示效果

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAASkAAAIJCAIAAAB2v1x+AAAY60lEQVR4nO3dzVMb/33AcS79D3rMsbfM5PK99uLNKdNDDIheE08unemYosAp0z8gtgGD2yR1m5k8ODYVvwCTTB8mfRr6MzY2BZIfru3aPAgRb9JdSWtbu9oOv4t6WO2yggU9oP1+9ifer/EFabV8Je+bfZJWQxYACUPSAwCuKNoDZNAeIIP2ABm0B8igPUAG7QEyaA+QQXuAD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a9QtResDkaV2ltHpdBeymy7ZfBntvw8LBSRuHTl+EtxvCwEdxixbb3gn2zwPTNm2ePtURTGuExzJ3Vhe8/WIt+UbRLFm2FBsdyumwv2iI9iXxndeEvOdbSV7SXKjvc8Is2FM/eEt83i2tWEW8vccqZh08sy34VHlw5NZP1asXquj3r5ePC2blFj0Vf0F66TtZp4zPB5lp47uHkFsuyKtXq4p2Wvb7oqMmpcwyVajU86hgwCp++sCzLtivxo5eqeZSyGsyk2/bOzi06KoN+ob102XYlvvNmWZZdOX1LoFKptuzshQt6pVoNpo5CjeZwZh/Mjs8iPv+TYZyabRjn2QlOzS2aEv1Ce4AM2gNk0B4gg/YAGbQHyKA9QAbtATJoD5BBe4AM2gNk0B4gg/YAGbQHyKA9QAbtATKG9gFIGDoGIIH2ABm0B8igPUAG7QEyaA+QQXuADNoDZNAeIIP2ABm0B8igPUAG7QEyaA+QQXuADNoDZNAeIIP2ABm0B8igPUAG7QEyaA+QQXuADNoDZNAeIIP2ABm0B8igPUAG7QEyaA+QQXuADNoDZNAeIIP2ABm0B8igPUAG7QEyaA+QQXuADNoDZNAeIIP2ABm0B8igPUAG7QEyaA+QQXuADNoDZNAeIIP2ABm0B8igPUAG7QEyaA+QQXuADNoDZNAeIIP2ABm0B8igPUAG7QEyaA+QQXuADNoDZNAeIIP2ABm0B8igPUDG/wPs6JeS2TJXvAAAAABJRU5ErkJggg==" alt="" />

jquery mobile 复选框和单选框的更多相关文章

  1. 【六】jquery之HTML代码/文本/值[下拉列表框、多选框、单选框的选中]

    val()方法不仅能设置元素的值,同时也能获取元素的值.另外,val()方法还有另外一个用处,就是它能使select(下拉列表框).checkbox(多选框)和radio(单选框)相应的选项被选中,在 ...

  2. 【三石jQuery视频教程】02.创建 FontAwesome 复选框和单选框

    视频地址:http://v.qq.com/page/m/8/c/m0150izlt8c.html 大家好,欢迎来到[三石jQuery视频教程],我是您的老朋友 - 三生石上. 今天,我们要通过基本的H ...

  3. Jquery学习笔记:操作form表单元素之二(复选框和单选框)

    在上面文章的基础上,我们介绍如何操作表单元素中的 复选框和单选框. 一.复选框 <label> <input type="checkbox" id="i ...

  4. jQuery取复选框值、下拉列表里面的属性值、取单选按钮的属性值、全选按钮、JSON存储、*去空格

    1.jquery取复选框的值<!--引入jquery包--> <script src="../jquery-1.11.2.min.js"></scri ...

  5. 把复选框变成单选框(prop,attr的区别)

    如果项目中需要统一样式的话,有可能会遇到把复选框变成单选框的需求. 下面是用jquery的简单实现 $(function(){ $("input[type='checkbox']" ...

  6. 10个HTML5美化版复选框和单选框

    单选框Radiobox和复选框checkbox在网页中也十分常见,虽然它没有按钮的交互性强,但是如果能把它们像按钮那样美化一下,那也是非常不错的.本文收集了10个相对比较漂亮的美化版单选框和复选框,希 ...

  7. jquery获取复选框checkbox的值

    jQuery API : each(callback) :以每一个匹配的元素作为上下文来执行一个函数. :checked :匹配所有选中的被选中元素(复选框.单选框等,不包括select中的optio ...

  8. 对jquery操作复选框

    摘要:jquery操作复选框.使用更简洁易懂,思路清晰,逻辑更明了,很实用 <!DOCTYPE html> <html> <head> <meta chars ...

  9. jquery判断复选框checkbox是否被选中

    jquery判断复选框checkbox是否被选中 使用is方法 //如果选中返回true //如果未选中返回false .is(':checked');

随机推荐

  1. OpenWrt+nginx+php安装discuz

    下面这个图片是本次的硬件资源:一个无线路由器的开发板,一个8G的u盘,一条手机的数据线(可以作为串口和供电使用),一条网线,一个USB Hub. <ignore_js_op>        ...

  2. 「Poetize10」能量获取

    描述 Description “封印大典启动,请出Nescafe魂珠!”随着 圣主applepi一声令下,圣剑护法rainbow和魔杖护法freda将Nescafe魂珠放置于封印台上.封印台是一个树形 ...

  3. HBase Endpoint

    引言   假设HBase某张表有1000个Region,里面存储着100万行数据,现在需要统计满足某些条件的行数,普通的做法是使用Filter(过滤条件),通过HBase API将满足过滤条件的行数据 ...

  4. bzoj3890 [Usaco2015 Jan]Meeting Time

    Description Bessie and her sister Elsie want to travel from the barn to their favorite field, such t ...

  5. C++ STL之pair常用指令

    只记载本人在ACM中常用的函数. pair<first, second>,将两个数据组合成一个数据.在其他stl(如map),函数需要传回两个值时可能会用到. 1.初始化 #include ...

  6. tengine rpm制作

    最近又在centos6.4下折腾tengine了,刚好不久前看了rpm包的制作方法,所以又有了搞个rpm包的想法. 1 安装centos的开发环境集成包及tengine的依赖包 1 yum group ...

  7. C - Courses - hdu 1083(模板)

    一共有N个学生跟P门课程,一个学生可以任意选一 门或多门课,问是否达成: 1.每个学生选的都是不同的课(即不能有两个学生选同一门课) 2.每门课都有一个代表(即P门课都被成功选过) 输入为: P N( ...

  8. Spring 整合 Tibco EMS

    参考文档:  http://haohaoxuexi.iteye.com/blog/1893038 http://www.blogjava.net/chenhui7502/archive/2011/08 ...

  9. Highcharts下载与使用_数据报表图2

  10. Java字符串的最大长度

    在cpp中为了可移植性,string的长度是string::size_type,突然就想知道java允许的最大字符串长度为多少.看String的源码: public final class Strin ...