- 浏览: 17446 次
- 性别:
- 来自: 河南郑州
最新评论
文章列表
IE and FF count in different ways the childNodes. FF (DOM compliant mode) counts even the possible textNodes (the gaps between tags) while IE counts only some of them.
To avoid this, use one the solutions:
1. use getElementsByTagName() rather than childNodes[]
2. use a while loop and nodeType attrib ...
SYBASE ISSUSES
sybase output parameter:
declare @msg varchar(1024)
set @msg = 'dsaf'
exec CMUserSearch_jason 'xs05319', 'LS', @msg output
select @msg
if you want to get output param in JDBC, you can
cstmt.getString(3), but be careful, this should use after you haved used the rs already
prep ...
NProject
- 博客分类:
- Google SVN
https://svn.codespot.com/a/eclipselabs.org/wiirok/trunk/
http://code.google.com/a/eclipselabs.org/p/wiirok/
sp debug method
create table SPOptimizationTb (
spName varchar(100) not null ,
seq int not null ,
breakpoint int not null ,
consume ...
lib:
antlr-2.7.6.jar
commons-beanutils-1.8.0.jar
commons-collections-3.2.jar
commons-dbcp-1.2.2.jar
commons-digester-1.8.1.jar
commons-fileupload-1.2.2.jar
commons-io-2.0.1.jar
commons-lang-2.5.jar
commons-logging-1.1.1.jar
commons-pool-1.5.2.jar
dom4j-1.6.1.jar
ezmorph-1.0.4.jar
freemarker-2.3.16.ja ...
select 1 as seq, a.* into SelCommentaryList_jason from SelCommentaryList_terry_res1 a
declare cursor_t cursor
for
select sp_name,run_time,distance,counts from SelCommentaryList_jason order by run_time
go
declare @tmp int
declare @seq int
declare @sp_name varchar(200)
declare @run_time dateti ...
/**
* a sql test template
*/
create table #a(id int,
name varchar(10)
)
select * into #b from #a
insert into #a values(4,'a1')
insert into #a values(5,'a2')
insert into #a values(6,'a3')
select * from #a
delete #a
delete #b
declare @pa int
declare @pt datetime
set @pa = 1
while @pa<1000
begi ...
sybase dynamic sql demo and quatation escape
if exists(select * from sysobjects where name = 'testjson' and type='P')
drop procedure testjson
setuser 'dbo'
go
create procedure testjson(@p varchar(200))
as
begin
print @p
select distinct siteId from AlertWebsiteTb
end
go
declare @pa varch ...
wiki introduction
- 博客分类:
- wiki
wiki: 内容协作系统 confluence not free
Enterprise wiki:
TWiki(http://twiki.org/)
syn.in(http://cyn.in/home.aspx)
mediawiki php+mysql[for free]
http://www.xwiki.org/xwiki/bin/view/Main/WebHome free&OpenSource
app:
www.platial.com。 wiki + picture
www.wetpaint.com。 wiki + website
http:/ ...
使用几点感受:
zen coding 和 jquery的风格是一致的,提供了强大的标签编辑功能
div#pic>ul>li.yelloClass_$*5
安装:
UE下面安装中文版的好象不支持,下个英文搞定(仅支持文本扩展)
Eclipse下 (全支持)
## 以插件的形式安装 aptana
## 新建工程
## scripts /lib 放入js
tips:
一、 $(window).load(function(){ ... }) 与 $(document).ready(function(){...})
DOM加载完后加载新的图片会改变原有的div的大小
二、 图片宽度、高度一个变,另一个自动变
三、 padding顺序: 上右下左 , 中间空格
center.js :
/*
*@(#) vcenter.js 图片垂直居中
* @author cjz
* @version 1.0 2010-01-25
* @param parentWidth 外层宽度
* @param parentHeight 外层高度
*/ ...
package com.xxt.utils;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import net.xxt.entity.UserInfo;
/**
* @description Printf 打印对象
* @author Chjz
* ...