| Overview | Index | GodLikeMouse JavaScript Framework |
| FRAMES | NO FRAMES |
GLM.DOM.GetChildrenByNodeType( element, nodeType )
Method for returning all children of an element that match the node type specified.
Parameters:
element - The parent element.
nodeType - the node type to find.
Returns:
An array of matching child elements.
Example:
var el = document.getElementById("myDiv");
var nodes = GetChildrenByNodeType(el, 3); //get all text node children
| Overview | Index | GodLikeMouse JavaScript Framework |
| FRAMES | NO FRAMES |