label:for事件的绑定
来源:互联网 发布:线切割如何编程软件 编辑:程序博客网 时间:2024/06/16 05:59
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<script type="text/javascript" src="jquery-1.11.3.min.js"></script>
<style>
label{height:20px;width:20px; background-color:yellow;display:block;border: 1px red solid;border-radius:50%;float:left;margin-left:20px;}
input{display:block;float:left;;}
</style>
<script>
</script>
</head>
<body>
<div>
<input type="radio" name="choice" id="choiceA"/>
<label for="choiceA"></label>
<input type="radio" name="choice" id="choiceB"/>
<label for="choiceB"></label>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<script type="text/javascript" src="jquery-1.11.3.min.js"></script>
<style>
label{height:20px;width:20px; background-color:yellow;display:block;border: 1px red solid;border-radius:50%;float:left;margin-left:20px;}
input{display:block;float:left;;}
</style>
<script>
</script>
</head>
<body>
<div>
<input type="radio" name="choice" id="choiceA"/>
<label for="choiceA"></label>
<input type="radio" name="choice" id="choiceB"/>
<label for="choiceB"></label>
</div>
</body>
</html>
0 0
- label:for事件的绑定
- Label的For(html)
- label的for属性
- label标签的for属性规定 与哪个表单元素绑定(转载)
- label绑定click事件也会触发所包含内部表单的click事件,你踩过坑吗?
- javascript event for 事件绑定
- DOM绑定事件 -for循环'
- 给for循环出来的html绑定事件
- label的link 事件不起作用
- label标签的for属性
- label标签的for属性
- label标签的for属性
- HTML <label> 的 for 属性
- label标签的for属性
- label标签的for属性
- label for
- javascript事件的绑定
- javascript的事件绑定
- chart11 持有对象
- chart12 通过异常处理错误
- MySQL查询本周、上周、本月、上个月份数据的sql代码
- chart13 字符串
- CCF试题--最大的矩形
- label:for事件的绑定
- 二叉树的下一个结点
- 对unique_ptr与shared_ptr为nullptr时, 删除器的调用机制疑惑
- SAP修改登录桌面背景图片
- chart14 类型信息RTTI(需加强理解)
- CCF-201503-3
- Note_of_built-in-function
- sql server jdbc window验证
- window下的NodeJS安装与npm工具安装调试