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. IT的发展路径

    1.掌握更多的技能 2.掌握某一门深入的技能 3.掌握更多的工具 4.掌握业务

  2. handler.post(r)同一个线程的疑惑

    handler.post(r);是把r加到消息队列,但并未开辟新线程.等到消息被取出时才执行. package com.lei.handlethread; import android.os.Bund ...

  3. BZOJ 1032 [JSOI2007]祖码Zuma

    1032: [JSOI2007]祖码Zuma Time Limit: 10 Sec  Memory Limit: 162 MBSubmit: 637  Solved: 318[Submit][Stat ...

  4. 【二分】XMU 1587 中位数

    题目链接: http://acm.xmu.edu.cn/JudgeOnline/problem.php?id=1587 题目大意: 求两个长度为n(n<=109)的有序序列合并后的中位数.序列中 ...

  5. js脚本同步、异步与延迟

    一般,我们通过src引入js文件时建议在页面末尾引入,因为会阻塞页面的渲染.defer和async可以达到同样效果 当HTML解析器遇到<script>元素时,它必须先执行脚本,然后再恢复 ...

  6. rowspan和colspan

    1.说明 rowspan:跨行colspan:跨列用于设计复杂的表格 2.例子<!DOCTYPE html> <html> <head> <meta char ...

  7. doxygen学习笔记

    下载doxygen:http://www.cnblogs.com/duxiuxing/p/4301015.html 学习思路 doxygen能够根据代码和注释生成文档.可想而知,doxygen对注释的 ...

  8. apt-mirror

    对于centos来说,搭建一个本地源,相对来说,还是比较简单的.对于ubuntu来说,就复杂很多, 估计也和我不熟悉有关. http://unixrob.blogspot.com/2012/05/cr ...

  9. HTTP学习笔记4-请求与响应结构例子

    18,HTTP消息由客户端到服务器的请求和服务器到客户端的响应组成.请求消息和响应消息都是由开始行,消息报头(可选的),空行(只有CRLF的行),消息正文(可选的)组成. 19,对于请求消息,开始行就 ...

  10. Maven assembly插件输出文件乱码问题

    使用Maven的<artifactId>maven-assembly-plugin</artifactId>插件导致输出的XML配置文件源文件的中文注释变成乱码,排查了多个地方 ...