Icontem

DOM Process: Traverse the DOM tree and process elements

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-07-18 (3 years ago) RSS 2.0 feedStarStarStar 58%Total: 105 All time: 400 This week: 10Up
Version License JavaScript version Categories
domprocess 1.0.0GNU General Publi...5HTML
Description Author

This object can traverse the DOM tree and process elements.

It takes the DOM node object of a parent element and traverses its nodes recursively.

The object takes a function that determines if each child element should be processed or not.

Another function will be called for nodes that are to be processed.

Innovation Award
JavaScript Programming Innovation award winner
September 2016
Winner


Prize: One downloadable e-book of choice by O'Reilly
Sometimes you need to process a part of a HTML or XML document by traversing all its nodes to perform some useful process.

This object simplifies that task by traversing the child elements of a DOM node and depending on the evaluation of a given callback function, i t will call another callback function to perform the actual processing.

Manuel Lemos
  Performance   Level  
Name: Everton da Rosa <contact>
Classes: 7 packages by
Country: Brazil Brazil
Age: 38
All time rank: 526 in Brazil Brazil
Week rank: 23 Up2 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 3x

Winner: 3x

  Files folder image Files  
File Role Description
Plain text file domprocess.js Class The script file
Accessible without login Plain text file sample.html Example An example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:105
This week:0
All time:400
This week:10Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:38