代码参考: http://www.sharejs.com/codes/javascript/4289 http://www.jb51.net/article/103420.htm https://www.zhihu.com/question/21652436/answer/18899099 1.无延迟版本 // 重写contains方法,使其筛选时忽略大小写,可以放在页面中,也可放在全局. jQuery.expr[':'].contains = function (a, i, m) { retu…
先上代码 <script type="text/javascript" language="javascript"> var idTmr; function getExplorer() { var explorer = window.navigator.userAgent; //ie if (explorer.indexOf("MSIE") >= 0) { return 'ie'; } …
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <tit…