- 博客(29)
- 资源 (17)
- 收藏
- 关注
原创 公众号学习第一天
https://mp.weixin.qq.com/s/F27H110lJumOK5m67GaKzQ清明时节雨纷纷,思念故人情独行。请在微信小程序搜索天堂快递。
2020-03-22 18:57:58
160
原创 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
1431
原创 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
2890
原创 ORA-27301: OS failure message: 重叠 I/O 操作在进行中。
Sun Oct 28 14:00:12 2012ORACLE V10.2.0.2.0 - Production vsnsta=0vsnsql=14 vsnxtr=3Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - ProductionWith the Partitioning, OLAP and Data Min
2012-10-29 14:12:21
2333
原创 freemarker 设置编码
Configuration config = new Configuration(); try { config.setDirectoryForTemplateLoading(new File("bin/template")); // 编码设置1 config.setDefaultEncoding("UTF-8"); Template template = co
2012-02-27 14:25:39
7405
原创 选择需要的数据提交
new document <!-- $(function(){ $("#detail").click(function(){ var $form = $(""); $("#container :input").each(function(){ var $inputTarget = $(this); var name
2012-02-03 17:45:37
538
原创 记录页面的cookie值
function recordCookie($container, flag, prefix){ $.cookie(flag,"recorded"); $(":input", $container).each(function(){ var $inputTarget = $(this); var id = (prefix || "") + $(this).attr("id");
2012-02-03 17:02:11
666
原创 列表之间的切换
new document <!-- $(function(){ $("li").each(function(){ $("#ul").data("c",$("li.c")); $("#ul").data("click",$("li.click")); $(this).hover( function(event){
2012-01-30 13:50:43
378
转载 linux 启动tomcat
#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff.touch /va
2012-01-13 17:20:40
411
原创 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
477
原创 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
1339
转载 jquery client
(function() { var BrowserDetect = { init: function () { this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; this.version = this.searchVersion(navigator.userAgent)
2011-12-29 13:43:11
1172
原创 去掉window关闭时候的弹出框
opener.location.reload(); window.opener=null; window.open('','_self'); window.close();window.close();
2011-11-17 18:54:46
439
原创 插入排序
public static void insertSort(int[] a){ int i,j,target; for( i = 1; i < a.length; i++){ target = a[i]; j = i; // 把目录向前插入到相应的位置。 //> 从大到小排序。 < 从小到大排序。 while(j > 0 && target > a[j-
2011-10-26 11:35:44
249
原创 归并排序自顶向下
public static void MergeSortDC(int[] R,int low,int high) {//用分治法对R[low..high]进行二路归并排序 int mid; if(low < high && low != high - 1){//区间长度大于1 mid= (low+high)/2 ; //分解
2011-10-26 11:34:13
358
原创 java 二项式
/** * 刘云龙 * * 2011-10-12 * 下午03:31:31 */package com.long3.util;import java.util.Arrays;/** * @author 刘云龙 * */public class Lef
2011-10-12 18:06:32
1214
原创 html 行转列
行转列 $(function(){ var trs = $("#table tr"); var tdLength = $("#table > tbody > tr:eq(1) > td").length; $("#rc").html(
2011-09-24 23:39:35
2687
1
原创 oralce 行转成列。
create table test_split(name varchar2(1000),name2 varchar2(1000));insert into test_split values('a''''b''''c''''d''''a''''b''''c''''d'''
2011-09-08 14:08:24
1142
原创 html 文字 justify 两端对齐
<!--.justify {height:1.1em; overflow:hidden; text-align:justify; text-justify:distribute-all-lines}-->利用text-ali
2011-09-05 11:10:50
13640
原创 在ie浏览器中设置文档模式
在head里面加入 content里面可以设置成ie=(6|7|8|9) CSS的样式在不同的浏览器的解析写法:*{ background:#f00; /*ff*/ background:#f809; /*IE9*/ background:#f80 ; /*IE8*/ *background:#f70;
2011-06-27 15:00:00
530
原创 无法设置selected属性。未指明的错误
<br /> <select id="Select1"><br /> <option value="1">1</option><br /> <option value="2">2</option><br /> <option value="3">3</option><br /> <option value="4">4</option><br /> <option value="5">5</option><br /></select><br /><in
2010-12-17 19:27:00
2041
原创 js form 提交验证
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head>
2010-11-05 16:49:52
96
原创 js 金钱输入验证
//下面表示只可以输入数字和一个点号 $("#price").keydown(function(event){ var code = event.keyCode; if((code >= 48 && code <= 57) || code == 110 || code == 190){ if((code == 110 || cod...
2010-11-05 15:48:31
183
原创 矩阵一些信息
[url]http://www.cavtc.net/jpkc/site-shuxue/course/3_content/10-4.htm[/url]
2010-11-05 12:39:26
170
转载 uml
<br />http://blog.youkuaiyun.com/zengjibing/archive/2009/02/16/3893395.aspx
2010-11-04 11:11:00
373
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人