在 Web 控制台,输出$('#newlist').find('.list')能得到一个数组, 但是在程序里,会打印出一个对象如下 往下解也无法得到想要的
initialize {
options:
{ normalizeWhitespace: false,
xmlMode: false,
decodeEntities: true,
withDomLvl1: true },
_root:
initialize {
'0':
{ type: 'root',
name: 'root',
attribs: {},
children: [Object],
next: null,
prev: null,
parent: null },
options:
{ normalizeWhitespace: false,
xmlMode: false,
decodeEntities: true,
withDomLvl1: true },
length: 1,
_root: [Circular] },
length: 0,
prevObject:
initialize {
options:
{ normalizeWhitespace: false,
xmlMode: false,
decodeEntities: true,
withDomLvl1: true },
_root: initialize { '0': [Object], options: [Object], length: 1, _root: [Circular] },
length: 0,
prevObject: initialize { '0': [Object], options: [Object], length: 1, _root: [Circular] } } }