public marks

PUBLIC MARKS from fredbird with tags dom & style

02 June 2005 14:45

Simon Willison: getElementsBySelector()

by 2 others (via)
Inspired by Andy, I decided to have a crack at something I've been thinking about trying for a long time. document.getElementsBySelector is a javascript function which takes a standard CSS style selector and returns an array of elements objects from the document that match that selector.

fredbird's TAGS related to tag dom

blog +   css +   html +   javascript +   lang:en +   lang:fr +   mozilla +   reference +   source-code +   style +   tools +   tutorial +   type:article +   w3c +   web-dev +   xhtml +