随笔 - 106  文章 - 0  评论 - 1  阅读 - 40962
09 2017 档案
弹出框
摘要:<title></title> <style> *{ margin: 0px; padding: 0px; } .t1{ width: 305px; height: 195px; background-color: hotpink; position: fixed; z-index: 2; } .t 阅读全文
posted @ 2017-09-29 19:34 段了的弦 阅读(122) 评论(0) 推荐(0) 编辑
三级联动,之前那个代码太难看了 在更新一下
摘要:<body> 年<select id="a"></select> 月<select id="b"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <opti 阅读全文
posted @ 2017-09-29 19:32 段了的弦 阅读(102) 评论(0) 推荐(0) 编辑
同意倒计时
摘要:<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 段了的弦 阅读(155) 评论(0) 推荐(0) 编辑
万年历
摘要: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 段了的弦 阅读(144) 评论(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 段了的弦 阅读(244) 评论(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 段了的弦 阅读(99) 评论(0) 推荐(0) 编辑
内容互换&同意下一步
摘要: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 段了的弦 阅读(107) 评论(0) 推荐(0) 编辑
冒泡排序和去重
摘要: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 段了的弦 阅读(339) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示