GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing developer.mozilla.org — Document: getElementsByName() method - Web APIs | MDN Document: getElementsByName() method
|
| Specification |
|---|
| HTML # dom-document-getelementsbyname-dev |
document.getElementById() to return a reference to an element by its
unique iddocument.getElementsByTagName() to return references to elements with
the same tag namedocument.querySelector() to return references to elements via CSS
selectors like 'div.myclass'