Forum Moderators: open
Is it possible, in Javascript, to grab all the <SPAN> tags and put them into an array? I know of my <SPAN>s had the same name I could use getElementsByName, but as they are all using different names, this approach won't work.
What I need is something like (and this is a made up method I'm sure, but servers the example purpose)..
getElementsByType("SPAN")
or a bunch of code that will basically give me the same results.
thanks for reading and to anyone that can help.