首先介绍一下什么是ol元素。这里直接引用MDN里面的定义:The HTML Element (or HTML Ordered List Element) represents an ordered list of items.也就是说这个元素的包含的li元素是带有数字序号的。为了更好阐述下面介...
分类:
其他好文 时间:
2014-09-26 22:47:08
阅读次数:
453
使用log4j.xml进行log4j的配置,在项目中报如下异常:
log4j:ERROR The content of element type "log4j:configuration" must match "(renderer*,appender*,(category|logger)*,root?,categoryFactory?)"....
分类:
移动开发 时间:
2014-09-26 20:42:18
阅读次数:
371
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2014-09-26 19:48:18
阅读次数:
182
大家都知道,用document.getElementById(‘element').style.xxx可以获取元素的样式信息,可是它获取的只是DOM元素style属性里的样式规则,对于通过class属性引用的外部样式表,就拿不到我们要的信息了。 DOM标准里有个全局方法getComputedStyl...
分类:
其他好文 时间:
2014-09-26 19:44:38
阅读次数:
196
一直以来对于通过jQuery方式获取的对象使不能直接使用JavaScript的一些方法的,开始的时候不理解,现在此案知道,原来jQuery 获得的对象并不和我们平时使用getElementById获得的对象是一样的对象。所以一些新手就很迷惑,为什么${"#Element"}不能直接 innerHTML,这就是原因所在,解决方式请看下文。
jQuery对象与dom对象的转换
只有jquery...
分类:
Web程序 时间:
2014-09-26 19:38:58
阅读次数:
190
Selection Sort选择排序The idea of the selection sort is to find the smallest element in the list and exchange it with theelement in the first position. Th...
分类:
其他好文 时间:
2014-09-25 19:44:07
阅读次数:
223
题目:
Given a sorted linked list, delete all duplicates such that each element appear only once.
这道链表的题也比较简单,目标是为了去重,只是需要注意在去重的过程中需要使用while循环,使一个节点的下一个节点必须指向与其不同的节点
上代码咯
# Definition for singly-li...
分类:
其他好文 时间:
2014-09-25 18:39:57
阅读次数:
193
XML Schema中的命名空间前缀限定包括对元素(Element)或属性(Attribute)的限定,即常见的如 “...”之类的格式。一般情况下在BizTalk Schema编辑器中设置架构的属性elementFormDefault /AttributeFormDefault在该 schema ...
分类:
其他好文 时间:
2014-09-25 15:33:29
阅读次数:
133
【转http://lz357502668.blog.163.com/blog/static/16496743201231941718527/】?MD_STOCK_REQUIREMENTS_LIST_API 取MD04的MRP Element MD_STOCK_REQUIREMENTS_LIST_A....
In a DTD, elements are declared with an ELEMENT declaration.Declaring ElementsIn a DTD, XML elements are declared with an element declaration with the...
分类:
其他好文 时间:
2014-09-25 03:09:48
阅读次数:
351