2018年3月8日

摘要: 一:JavaScript原生的方法 1:拿到select对象: var myselect=document.getElementById(“test”); 2:拿到选中项的索引:var index=myselect.selectedIndex ; // selectedIndex代表的是你所选中项的 阅读全文
posted @ 2018-03-08 16:10 哓番茄 阅读(155) 评论(0) 推荐(0) 编辑
 
摘要: 近来要做一个记事本系统,想找一个合适的日历控件,但网上的都是那种日历选择控件。于是到qq的记事本系统找了一个,但里面的算法有点落后,所以用了它的样式自己写了个。 效果: << >> 2018年 3月 日 一 二 三 四 五 六 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 阅读全文
posted @ 2018-03-08 15:22 哓番茄 阅读(552) 评论(0) 推荐(0) 编辑
 
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2018-03-08 15:14 哓番茄 阅读(144) 评论(0) 推荐(0) 编辑