Lines Matching refs:node
199 getInnerText: function(node) { argument
206 hasInputs = (typeof node.getElementsByTagName == 'function') &&
207 node.getElementsByTagName('input').length;
209 if (node.getAttribute("sorttable_customkey") != null) {
210 return node.getAttribute("sorttable_customkey");
212 else if (typeof node.textContent != 'undefined' && !hasInputs) {
213 return node.textContent.replace(/^\s+|\s+$/g, '');
215 else if (typeof node.innerText != 'undefined' && !hasInputs) {
216 return node.innerText.replace(/^\s+|\s+$/g, '');
218 else if (typeof node.text != 'undefined' && !hasInputs) {
219 return node.text.replace(/^\s+|\s+$/g, '');
222 switch (node.nodeType) {
224 if (node.nodeName.toLowerCase() == 'input') {
225 return node.value.replace(/^\s+|\s+$/g, '');
228 return node.nodeValue.replace(/^\s+|\s+$/g, '');
233 for (var i = 0; i < node.childNodes.length; i++) {
234 innerText += sorttable.getInnerText(node.childNodes[i]);