Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: find all tags of certain type


Message #1 by "Robert Sindall" <rsindall@z...> on Mon, 19 Aug 2002 12:47:24 +0100
I get 'undefined' if i do:

alert(document.getElementsByTagName("OBJECT").classid);

and i get '[Object]' if i do:

alert(document.getElementsByTagName("OBJECT"));

what i need to do is switch it off...

-----Original Message-----
From: Phil Griffiths [mailto:pgtips@m...]
Sent: 19 August 2002 14:38
To: javascript
Subject: [javascript] Re: find all tags of certain type


I don't know OTMH.  Have you tried it?

Phil
>------------------------------
> Do you know if it is possible to access the classid property of the
object
tag.

-----Original Message-----
From: Phil Griffiths [mailto:pgtips@m...]
Sent: 19 August 2002 13:11
To: javascript
Subject: [javascript] Re: find all tags of certain type


document.all.tags("tagname") for IE4
document.getElementsByTagName("tagname") for IE5+, probably NS6 too
NS4 don't know.

hth
Phil
>----------------------------------------------
How would i perform an action on all tags of a certain type within a page.

Best Regards

Robert Sindall
>---------------------------------------------

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20



  Return to Index