Displaying 1 result from an estimated 1 matches for "getsubelementsbyselector".
2005 Nov 24
1
Extended $ function called $$
...turn a single element
if(partArray.length <= 1){
elements.append(element);
// return the children of the single element with more selectors
}else{
var selectorRest = selector.substring(selector.indexOf(''
'')+1,selector.length);
elements.append($$.getSubelementsBySelector(element,selectorRest));
}
}else{
throw new Error("Element with id "+id+" not found");
}
// find multiple elements
}else{
elements.append($$.getSubelementsBySelector(document,selector));
}
}
return elements;
}
// list of valid symbols used t...