会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
她的睫毛
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
2017年9月28日
同意倒计时
摘要: <body> <form> <input type="submit" id="a" value="同意(10)" disabled="disabled" /> </form> </body></html><script> n=10; a=document.getElementById("a"); f
阅读全文
posted @ 2017-09-28 15:52 段了的弦
阅读(156)
评论(0)
推荐(0)
2017年9月27日
万年历
摘要: function a(){ c=new Date(); n=c.getFullYear(); y=c.getMonth()+1; r=c.getDate(); x=c.getDay(); h=c.getHours(); m=c.getMinutes(); x=n+"年"+y+"月"+r+"日"+",
阅读全文
posted @ 2017-09-27 21:08 段了的弦
阅读(147)
评论(0)
推荐(0)
三级联动,日期选择
摘要: <body> 年<input type="text" id="a"> 月<select id="b"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <op
阅读全文
posted @ 2017-09-27 21:06 段了的弦
阅读(251)
评论(0)
推荐(0)
全选框框
摘要: <body> <form> <input type="checkbox" id="a"> <input type="checkbox" id="b"> <input type="checkbox" id="c"> <input type="checkbox" id="d"> <input type=
阅读全文
posted @ 2017-09-27 14:42 段了的弦
阅读(104)
评论(0)
推荐(0)
2017年9月26日
内容互换&同意下一步
摘要: a=document.getElementById("a"); b=document.getElementById("b"); c=document.getElementById("c"); d=document.getElementById("d"); b.onclick=function(){
阅读全文
posted @ 2017-09-26 22:31 段了的弦
阅读(111)
评论(0)
推荐(0)
2017年9月25日
冒泡排序和去重
摘要: a= [1, 2, 2, 2, 3, 3, 4, 4, 5, 6]; b= []; for(x=0;x<a.length;x++){ s=0; for(y=0;y<b.length;y++){ if(a[x]==b[y]){ s=1; } } if(s==0){ b.push(a[x]); } }
阅读全文
posted @ 2017-09-25 19:37 段了的弦
阅读(340)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11