Lines Matching refs:childNodes
406 return div.childNodes[0] ? (div.childNodes.length > 1 ?
407 $A(div.childNodes).inject('', function(memo, node) { return memo+node.nodeValue }) :
408 div.childNodes[0].nodeValue) : '';
1623 var content, insert, tagName, childNodes;
1641 childNodes = Element._getContentFromAnonymousElement(tagName, content.stripScripts());
1643 if (position == 'top' || position == 'after') childNodes.reverse();
1644 childNodes.each(insert.curry(element));
2434 $A(element.childNodes).each(function(node) { element.removeChild(node) });
2487 return $A(div.childNodes);
3028 for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) {
3033 for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++)
3061 for (var j = 0, child; child = node.childNodes[j]; j++)