Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
get the children of an element
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
.gitignore
.jshintrc
.tern-project
component.json
license
readme.md

readme.md

children

inspired by jQuery

install

component install ramitos/children

api

var children = require('children')

var anchors = children(document.body, 'a')

var hrefs = anchors.map(function (anchor) {
  return anchor.href
})

var body_childrens = children(document.body)

license

MIT

Something went wrong with that request. Please try again.