摘要:
// 兼容火狐获取一个节点的相同类型的上一个相邻节点function perviousSiblingSameType(node , cnode ){ // 为空直接返回null if(node.previousSibling == null ) { return null ; } else { // 节点类型不相等继续递归 if(node.previousSibling.nodeType != cnode.nodeType) { return perviousSiblingSam... 阅读全文
posted @ 2012-12-14 16:24
园林鸟
阅读(451)
评论(1)
推荐(0)

浙公网安备 33010602011771号