上一页 1 ··· 107 108 109 110 111 112 113 114 115 ··· 198 下一页
摘要: select{ position: absolute; left: 0; top: 0;width: 100%; height: 3em; opacity: 0;text-align:center;-webkit-appearance: none; -moz-appearance: none; -o... 阅读全文
posted @ 2015-06-03 09:13 Shimily 阅读(316) 评论(0) 推荐(0)
摘要: js生成随机数有以下几种方式1、JavaScript Math.random()内置函数random函数返回值返回0和1之间的伪随机数,可能为0,但总是小于1,[0,1)random函数示例//返回随机数document.write(Math.random());//返回10-20的随机数docum... 阅读全文
posted @ 2015-06-02 10:34 Shimily 阅读(6093) 评论(0) 推荐(0)
摘要: 一、数字的验证 /**//** * 检查输入的一串字符是否全部是数字 * 输入:str 字符串 * 返回:true 或 flase; true表示为数字 */function checkNum(str){ return str.match(/\\D/) == null;... 阅读全文
posted @ 2015-06-02 09:48 Shimily 阅读(257) 评论(0) 推荐(0)
摘要: 当我们需要加载完成一个IFrame后,才开始加载另一个IFrame或者其它的内容,这个时候需要用到IFrame加载完成的方法。判断的方法JScript 代码 复制 var iframe01 = document.getElementById("If01"); iframe01.src = "ht... 阅读全文
posted @ 2015-06-02 09:41 Shimily 阅读(746) 评论(0) 推荐(0)
上一页 1 ··· 107 108 109 110 111 112 113 114 115 ··· 198 下一页