Nodejs Utililty Methods NodeList forEach

List of utility methods to do NodeList forEach

Description

The list of methods to do NodeList forEach are organized into topic(s).

Method

forEach(fun)
NodeList.prototype.forEach = function(fun) {
  for (var i=0, elem; elem = this[i]; i++) { fun(elem); }
Node.prototype.appendText = function(text) {
  this.appendChild(this.ownerDocument.createTextNode(text));
function createElem(name,attributes,parent) {
  var elem = document.createElement(name);
  for (var i in attributes) elem.setAttribute(i, attributes[i]);
...