web页面前段技术
iteye_4670
这个作者很懒,什么都没留下…
展开
-
Jqgrid表头自动换行
jqgrid表头过长,如果table的header部分字段太多或字段文字太长需要自动换行时,可尝试如下css。 [code="css"] th.ui-th-column div { white-space: normal !important; height: auto !important; padding: 0px; ...原创 2016-03-14 10:06:35 · 206 阅读 · 0 评论 -
js Map
[code="js"] function Map() { this.elements = new Array(); //获取MAP元素个数 this.size = function() { return this.elements.length; } //判断MAP是否为空 this.isEmpty = function() { return (this.el...原创 2016-03-16 16:25:32 · 146 阅读 · 0 评论