上一页 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 段了的弦 阅读(155) 评论(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 段了的弦 阅读(143) 评论(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 段了的弦 阅读(243) 评论(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 段了的弦 阅读(98) 评论(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 段了的弦 阅读(103) 评论(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 段了的弦 阅读(338) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11