![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html js
longnihao
这个作者很懒,什么都没留下…
展开
-
html 行转列
行转列 $(function(){ var trs = $("#table tr"); var tdLength = $("#table > tbody > tr:eq(1) > td").length; $("#rc").html(原创 2011-09-24 23:39:35 · 2629 阅读 · 1 评论 -
select 转换
/** * 把原始的select转换成div和input的形式。 **/ (function($){ $.fn.xcySelect = function(options){ var defaults = { hiddenInput : null ,showInput : null ,readonly : true ,width : 100 ,height原创 2012-01-09 09:56:36 · 1306 阅读 · 1 评论 -
CSS 定位
{ position: fixed; bottom:10px; z-index: 9999; left:10px; _position:absolute; _top: expression(eval((document.compatMode&&document.compatMode=="CSS1Compat")?documentElement.scrollTop+documentE原创 2012-01-13 14:24:44 · 453 阅读 · 0 评论 -
js二维数组排序
New Document <!-- function getCard(m){ var ret = [], rnd; for(var i = 0; i < m; i++){ rnd = Math.floor(Math.random()*(i+0.9999)); ret[i] = ret[rnd]; ret[rnd] = i原创 2013-04-26 17:17:41 · 1387 阅读 · 0 评论 -
js数组的排序
jQuery UI Example Page var flSort={}; flSort.index = 0; flSort.asc = -1; flSort.gzfl = function(){ flSort.index = 0; } flSort.rwfl = function(){ flSort.index = 1; } flSort.so原创 2013-04-10 14:33:29 · 2860 阅读 · 0 评论