Top "Getelementsbytagname" questions

A native HTML DOM Element method used to get all elements with the specified tag name.

Change style of all elements using getElementsByTagName()

I'm fairly new to javascript and have been unable to get this code to work and I am unsure were …

javascript styles visibility getelementsbytagname
getElementsByTagName().length returns zero

I am trying to do a simple thing such as: var elements = document.getElementsByTagName("input"); console.log(elements); console.log(…

javascript getelementsbytagname
Getting attribute values in VBA

I need to make a VBA file that will read a webpage and return the value of the SRC attribute …

ms-access dom vba getelementsbytagname
change <a> target to "_blank" depending on href

I'm trying to sort through the links on my page and make some of them open into a new window, …

javascript href target getelementsbytagname
Get element by tag name shorthand?

I don't know what it's called, but I know that there's a way to get elements based on their tags …

javascript dom tags element getelementsbytagname
Why can I not remove a child element I've just found? NOT_FOUND_ERR

I'm building a script which has to patch XML files, including replacing one list of elements with another. The following …

java xml removechild getelementsbytagname
javascript TypeError: document.getElementsByTagName("p")[0].innerHtml is not a function

I'm getting the following error for a simple function below: TypeError: document.getElementsByTagName("p")[0].innerHtml is not a function I'm …

javascript typeerror getelementsbytagname
using document.getElementsByTagName on a page with iFrames - elements inside the iframe are not being picked up

newer to javascript. On my page (asp.net application, vb as serverside language), I am using document.getElementsByTagName("img") to …

javascript iframe getelementsbytagname
Getting a single element with `getElementsByTagName`

I know that if we want to find a group of elements, getElementsByTagName is the method for us and it …

javascript html dom getelementsbytagname
getElementsByTagName not working in chrome and safari

I'm using the javascript method getElementsByTagName("a") to call all 'a' tags and do some effect with them. The method …

google-chrome safari getelementsbytagname