Javascript Tag Searches

He has: 1,380 posts

Joined: Feb 2002

Hey...I'm using a script where it is a mouseover...it does this by looking for "img" tags with a certain class attached...but how do I add another tag?

The original code is:
var aImages = document.getElementsByTagName('img');'
how would i add the tag "input" to that?
I tried

'img','input'
'
but that didn't work. Thanks.