zoukankan
html css js c++ java
checkbox js
<
html
>
<
head
>
<
meta
http-equiv
="Content-Type"
content
="text/html; charset=gb2312"
>
<
title
>
Untitled Document
</
title
>
</
head
>
<
body
>
<
script
language
="javascript"
type
="text/javascript"
>
function
adjust(str,obj)
{
document.getElementById(str).style.display
=
obj.checked
?
"
block
"
:
"
none
"
;
}
</
script
>
<
table
width
="500"
border
="1"
>
<
tr
>
<
td
><
input
type
="checkbox"
name
="checkbox3"
value
="checkbox"
>
忙时优惠包
<
input
type
="checkbox"
name
="checkbox"
value
="checkbox"
onClick
="adjust('line1',this)"
>
长途优惠包
<
input
type
="checkbox"
name
="checkbox2"
value
="checkbox"
onClick
="adjust('line2',this)"
>
短信优惠包
</
td
>
</
tr
>
<
tr
>
<
td
id
="line1"
style
="display:none"
><
input
name
="radiobutton"
type
="radio"
value
="radiobutton"
>
3
<
input
name
="radiobutton"
type
="radio"
value
="radiobutton"
>
5
<
input
name
="radiobutton"
type
="radio"
value
="radiobutton"
>
10
</
td
>
</
tr
>
<
tr
>
<
td
id
="line2"
style
="display:none"
><
input
name
="radiobutton"
type
="radio"
value
="radiobutton"
>
3
<
input
name
="radiobutton"
type
="radio"
value
="radiobutton"
>
6
<
input
name
="radiobutton"
type
="radio"
value
="radiobutton"
>
10
</
td
>
</
tr
>
</
table
>
</
body
>
</
html
>
查看全文
相关阅读:
隔行扫描 和 逐行扫描
CSS3--关于z-index不生效问题
vue与其他框架对比
跨域(转)
vue 事件修饰符(阻止默认行为和事件冒泡)
vue 3.0新特性
bash leetcode
数据库
css排版
盒模型
原文地址:https://www.cnblogs.com/simhare/p/926014.html
最新文章
should have subtitle controller already set
《重构:改善既有代码的设计》(一)
OpenCV笔记 1
《Android安全机制解析与应用实践》笔记 第2章
OpenCV4Android 不需要安装OpenCVManager,就可以运行的方法
OpenCV 官方工程报错(1) Couldn't load mixed_sample from loader
linux下查看和添加PATH环境变量
Error: Cannot run program "/home/xxx/android_developer_tools/android-ndk-r8/ndk-build.cmd": Unknown reason
Eclipse中,将jar包导入为User Library
TCP/IP 笔记 1.3 IP:网际协议
热门文章
TCP/IP 笔记 1.2 链 路 层
TCP/IP 笔记 1.1 概 述
在Linux下adb连接不上android手机的终极解决方案
android opencv
UML类图几种关系的总结
UAC(User Agent Client) 和 UAS(User Agent Server)
ARQ
CRC的校验原理
VersionCode和VersionName
数据库监听。数据库一次notify,Activity多次接收
Copyright © 2011-2022 走看看