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
>
查看全文
相关阅读:
剑指offer——从尾到头打印链表节点的值
1, sync_with_stdio(), tie()的应用
Python基础1:一些小知识汇总
HTML
CSS
周总结
十三章
十二章总结
十一章总结
第十一章
原文地址:https://www.cnblogs.com/simhare/p/926014.html
最新文章
python--7、面向对象
python--6、常用模块
python--6、logging模块
python--5、包
python--5、模块
python--4、装饰器
python--3、 可迭代对象、迭代器、生成器
python--3、函数
chapter04
chapter02
热门文章
chap01
javascript { [ 笔记
Cocos Console命令总结
Cocos2d-js异步图片加载
cocos2d-js 3.0 屏幕适配方案 分辨率适应
实用API大全
如何修改WAMP中mysql默认空密码
手游服务器php架构比较
无节操cocos2d-js游戏
手游素材资源
Copyright © 2011-2022 走看看