- 博客(3)
- 收藏
- 关注
转载 document.createElement()
<br />document.createElement()是在对象中创建一个对象,要与appendChild() 或 insertBefore()方法联合使用。其中,appendChild() 方法在节点的子节点列表末添加新的子节点。insertBefore() 方法在节点的子节点列表任意位置插入新的节点。<br /> <br /> 下面,举例说明document.createElement()的用法。<div id="board"></div><br /> <br />例1:<br />
2010-09-26 20:37:00 5266
原创 firebug命令
$(id) $$(selector) $x(xpath) dir(object) clear() inspect(object[, tabName]) keys(object) values(object) debug(fn) & undebug(fn) 测试性能的API:console.profile('Measuring time'); console.profileEnd();日志API: console.log : 打印信息(不带任何图标) console.debug:在控制台上
2010-09-25 22:01:00 580
原创 java处理json使用的jar包
<br />http://json-lib.sourceforge.net/<br /> <br /> <br />JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans.
2010-09-04 19:07:00 3186
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人