getNodesByType()
7th April 2003
On gazingus.org, Flexible Node Retrieval introduces a new addition to the getElementsBy* family of javascript functions, getNodesByType
. This general purpose function uses a callback function to “filter” the child nodes of a DOM element. It works a bit like PHP’s array_filter
function. One for the toolbox.
More recent articles
- A selfish personal argument for releasing code as Open Source - 24th January 2025
- Anthropic's new Citations API - 24th January 2025
- Six short video demos of LLM and Datasette projects - 22nd January 2025