JSREF

HTML DOM Document getElementsByTagName()

Get all elements with the tag name "li":