js & js framework
tongwei0071
这个作者很懒,什么都没留下…
展开
-
textarea根据输入内容自动增高
$.fn.extend({ textareaAutoHeight: function (options) { this._options = { minHeight: 0, maxHeight: 300, lineHeight: 24 } this.init = fu...原创 2018-06-01 15:51:34 · 1984 阅读 · 0 评论 -
js判断浏览器类型
var Browser = new Object();Browser.isMozilla = (typeof document.implementation != 'undefined') && (typeof document.implementation.createDocument != 'undefined') && (typeof HTMLDocumen...转载 2018-06-01 15:55:02 · 319 阅读 · 0 评论