getElementsByTagName
Sunday July 12, 2009
JavaScript can access collections of any HTML tag within the web page.
Now that we have considered some older but still useful methods of accessing and updating information in a web page from JavaScript (as well as the most common way of using the DOM to reference a specific tag), it is time to look at more of the standard DOM ways of doing so. In the seventh DOM tutorial we look at the most powerful of these which can provide access to all of the tags on the web page (or all of a given type) all in the one array.
getElementsByTagName


No comments yet. Leave a Comment