摘要: 前两天在项目中遇到setTimeout()需要带参数问题;原始办法setTimeout("Fun(+ element+)",1000);不用字符串拼接。。。更好的方法:setTimeout(function () { Fun(element) }, 1000); 阅读全文
posted @ 2015-11-02 09:49 江湖丶丿新进程 阅读(363) 评论(0) 推荐(0) 编辑