Search completed in 0.98 seconds.
8 results for "element.getElementsByTagName":
Element.getElementsByTagName() - Web APIs
the
element.getelementsbytagname() method returns a live htmlcollection of elements with the given tag name.
...therefore, there is no need to call
element.getelementsbytagname() with the same element and arguments repeatedly if the dom changes in between calls.
...instead, use
element.getelementsbytagnamens(), which preserves the capitalization of the tag name.
...And 6 more matches
Element.getElementsByTagNameNS() - Web APIs
the
element.getelementsbytagnamens() method returns a live htmlcollection of elements with the given tag name belonging to the given namespace.
... syntax elements =
element.getelementsbytagnamens(namespaceuri, localname) elements is a live htmlcollection of found elements in the order they appear in the tree.
...var table = document.getelementbyid("forecast-table"); var cells = table.getelementsbytagnamens("http://www.w3.org/1999/xhtml", "td"); for (var i = 0; i < cells.length; i++) { var axis = cells[i].getattribute("axis"); if (axis == "year") { // grab the data } } specifications specification status comment domthe definition of '
element.getelementsbytagnamens()' in that specification.
...And 2 more matches
Document.getElementsByTagName() - Web APIs
this demonstrates both document.getelementsbytagname() and the functionally identical
element.getelementsbytagname(), which starts the search at a specific element within the dom tree.
... document.getelementsbytagname() is similar to
element.getelementsbytagname(), except that its search encompasses the whole document.
Document.getElementsByTagNameNS() - Web APIs
see the note in browser compatibility section in
element.getelementsbytagnamens for details.
... note that when the node on which getelementsbytagname is invoked is not the document node, in fact the
element.getelementsbytagnamens method is used.
Element - Web APIs
element.getelementsbytagname() returns a live htmlcollection containing all descendant elements, of a particular tag name, from the current element.
...
element.getelementsbytagnamens() returns a live htmlcollection containing all descendant elements, of a particular tag name and namespace, from the current element.
Index - Web APIs
1120
element.getelementsbytagname() api, dom, element, method, reference the
element.getelementsbytagname() method returns a live htmlcollection of elements with the given tag name.
... 1121
element.getelementsbytagnamens() api, dom, element, method, reference the
element.getelementsbytagnamens() method returns a live htmlcollection of elements with the given tag name belonging to the given namespace.
Connecting to Remote Content - Archive of obsolete content
request.onload = function(aevent) { let responsexml = aevent.target.responsexml; let rootelement = responsexml.documentelement; if (rootelement && "parseerror" != rootelement.tagname) { let shopelements = root
element.getelementsbytagname("shop"); let totalelement = root
element.getelementsbytagname("total")[0]; window.alert(shopelements[1].getelementsbytagname("name")[0].firstchild.nodevalue); // => orange window.alert(totalelement.firstchild.nodevalue); // => 2 } }; using dom functions is good for simple xml documents, but dom manipulation code can become too complicated if the...
Methods - Archive of obsolete content
howpopup sizeto startediting stop stopediting swapdocshells syncsessions timedselect toggleitemselection related dom element methods dom:element.addeventlistener dom:element.appendchild dom:element.comparedocumentposition dom:element.dispatchevent dom:element.getattribute dom:element.getattributenode dom:element.getattributenodens dom:element.getattributens dom:
element.getelementsbytagname dom:
element.getelementsbytagnamens dom:element.getfeature fixme: brokenlink dom:element.getuserdata dom:element.hasattribute dom:element.hasattributens dom:element.hasattributes dom:element.haschildnodes dom:element.insertbefore dom:element.isequalnode dom:element.issamenode dom:element.issupported dom:element.lookupnamespaceuri dom:element.lookupprefix dom:element.nor...