![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascripit
文章平均质量分 62
WolfMan_SunnyWolf
这个作者很懒,什么都没留下…
展开
-
记录下有用的 UIHelper
/** * 数组去重 */Array.prototype.delRepeat=function(){ var newArray=[]; var provisionalTable = {}; for (var i = 0, item; (item= this[i]转载 2011-07-21 17:36:02 · 604 阅读 · 0 评论 -
iframe 自动适应 长度
//iframe 自动适应 长度var tt1=jQuery(window.parent.document || window.parent.contentDocument).find("iframe#bottomIframe");var tt2=jQuery(window.parent.parent.document || window.parent.parent.contentDocum原创 2012-10-26 15:29:10 · 421 阅读 · 0 评论 -
javascript 时间 工具
/** *2012-10-16 11:08:24 *@author zhaoyang */DateUil = { oneDay : 24 * 3600000, oneWeek : 7 * 24 * 3600000, /** *获取 date 所在的 周一 * @param {Object} date */ getMonday : function(date,原创 2012-10-17 11:17:08 · 421 阅读 · 0 评论 -
HTML5 File Reader file upload 文件上传 test
import project body { text-align: center; background-color: #DEF3FE; font-family: Arial, Helvetica, sans-serif; font-size: 80%;原创 2012-04-28 17:01:08 · 6815 阅读 · 1 评论 -
跨域调用
//step1. java 端JSONObject job=JSONObject.fromObject(res);((PrintWriter) out).println("showInfo("+job.toString()+")");// step2 js 端 function getHeaderHTML(){ var prefix=CheetahContent.conf.se原创 2012-02-28 10:05:05 · 527 阅读 · 0 评论 -
js 优化收藏
http://www.cnblogs.com/Mainz/archive/2009/03/19/1416775.html转载 2012-02-09 11:03:02 · 291 阅读 · 0 评论 -
日期 的几个js
/** * 获取当前日期 * v 偏移量 * split 间隔符 */function getDateByOffSet(v,split){ var myDate=new Date() //myDate.setDate(myDate.getDateByOffSet()+v) myDate.setTime(myDate.getTime()+(v*24*3600*1000)) retu原创 2012-01-09 17:36:24 · 297 阅读 · 0 评论 -
javascript 秘密花园 http://bonsaiden.github.com/JavaScript-Garden/zh/
enzhrufipltr#topHide Menu简介关于作者贡献者许可对象对象使用和属性原型hasOwnProperty 函数for in 循环函数函数声明与表达式this 的工作原理闭包和引用arg转载 2011-10-09 19:57:48 · 9026 阅读 · 0 评论 -
页面右上角 extend 框
本地存储查询名称 $(function() { initData(); bindEvent_l原创 2011-08-26 16:06:49 · 428 阅读 · 0 评论 -
试用带搜索的select
http://www.aqee.net/docs/Chosen/Chosen.htm class="chzn-select"> 请选择告警接收组原创 2011-09-09 19:08:36 · 520 阅读 · 0 评论 -
RollNumber
_rollNumber: function($numWrapper, newText, left) { $numWrapper.animate({ 'text-indent': (left ? '' : '-') + '50px' }, 'fast', function() { $numWrapper.html(newText); $numWrapper.css({ 'text-indent':转载 2015-01-07 15:13:29 · 738 阅读 · 0 评论