javascript
文章平均质量分 77
spy1403414807
这个作者很懒,什么都没留下…
展开
-
javascript 倒计时
var urodz= new Date("January 1,2012");var s="元旦";var now = new Date();var ile = urodz.getTime() - now.getTime();var dni = Math.floor(ile / (1000 * 60 * 60 * 24));if (dni > 1) document.w原创 2011-11-29 13:12:09 · 409 阅读 · 0 评论 -
js 实现小日历
var months = new Array("一", "二", "三","四", "五", "六", "七", "八", "九","十", "十一", "十二"); var daysInMonth = new Array(31, 28, 31, 30, 31, 30, 31, 31,30, 31, 30, 31); var days = new Array("日","一", "二", "转载 2011-12-15 11:13:12 · 1546 阅读 · 0 评论 -
JS轻松实现单击文本框弹出选择日期
// 主调用函数是 setday(this,[object])和setday(this),[object]是控件输出的控件名,举两个例子:// 一、// 二、//function setaa()//{//alert('1111');//}var bMoveable=true;var strFrame; document.writeln('');st原创 2012-04-11 22:55:39 · 6797 阅读 · 0 评论