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
>
查看全文
相关阅读:
回调函数案例(二)
回调函数案例(一)
liteos学习文档liteos.github.io
HeapAlloc、GlobalAlloc和new等内存分配有什么区别么?
C语言中字符数组和字符串指针分析
socket 连接,使得地址马上可以重用
shutdown 和closesocket
IP地址转换成Long型数字的算法
WSAStartup( )
关于完成端口IOCP异步接收连接函数AcceptEx注意事项
原文地址:https://www.cnblogs.com/simhare/p/926014.html
最新文章
android配置文件详解
android开发注意点
android开发技巧
Android自动测试之monkeyrunner工具
归并排序
选择排序
冒泡排序
插入排序
数组去重方法总结
获取地址栏参数
热门文章
vscode配置
JavaScript正则表达式方法总结
数据绑定原理
如何增强代码的可读性?嵌入式代码之编写规范
51定时器控制4各led,使用回调函数机制
STM32进阶之串口环形缓冲区实现(转载)
C语言结构体的学习,以及gdb的调式
人人都会设计模式:观察者模式--Observer
C语言编译过程详解
C语言真正的编译过程(4个步骤~~预编译,编译,汇编,连接)
Copyright © 2011-2022 走看看