Top "Getelementsbyclassname" questions

getElementsByClassName is a Javascript function which takes a string argument and returns elements from the current page with a class name matching the string.

GetElementsbyClassname: Open IE vs. MSXML2 Methods

The following macro works just fine. It opens an instance of IE and uses the "getelementsbyclassname" method to return the …

vba internet-explorer excel getelementsbyclassname
pull data from website using VBA excel multiple classname

I know this has been asked many times, but haven't seen a clear answer for looping thru a div and …

vba excel excel-2010 getelementsbyclassname
How to change button color onclick using javascript only?

I was trying to make the color of the buttons change using onclick and getElementsByClassName and came up with something …

javascript onclick getelementsbyclassname
Get all items that start with class name

I'm trying to only show certain divs. The way I have decided to do this is to first hide all …

javascript regex getelementsbyclassname
Get Element By Classname Script Not Working

I know, it's not supported by IE, but I found a cool script online that someone was generous enough to …

javascript toggle getelementsbyclassname
addClass to getElementsByClassName array

I need a little help as i am getting frustrated with .getElementsByClassName. I have an svg map that has paths …

jquery arrays svg addclass getelementsbyclassname
Get value of HREF for links within a certain Class in Javascript

I'm trying to process a page to find the value of href's within a certain div class. Please bear in …

javascript class href getelementsbyclassname
How can i get elements by class instead of "GetElementById"?

So, this is the code: <a id="link" href="https://url.com/">URL:</a> <input …

javascript getelementbyid getelementsbyclassname
Struggling with classList.add and getElementsByClassName

I'm trying to add a extra class to some elements with a specific class(input-fieldset). <fieldset id="pay" class="…

javascript getelementsbyclassname
Call onClick Function On Multiple Elements

I checked out some other posts on here but still couldn't get this issue to work. I have several elements …

javascript getelementbyid getelementsbyclassname