attributes

Eduardo Palma (epalma@fsaa.ulaval.ca)
Wed, 23 Sep 1998 11:39:25 +0100


Hi

how you can know if an
xml attribute
is present with JavaScript?

I tried this:

if (theElement.getAttribute("MANAGER") != null)
aText += "&manager=" + theElement.getAttribute("MANAGER");

doesn't work!

Thanks
Eddie