Re: class attribute
- From: "Terry Moon" <TerryMoon@xxxxxxxxxxxxx>
- Date: Thu, 10 Nov 2005 14:11:54 +0000 (UTC)
> I was wondering if someone could help me here. I need to set the class
> attribute of an HTML element to a specific value using javascript, can
> someone give me an example of how I might do this as the syntax
>
> myElement.class ="MyClassName"
>
> Does not seem to work
>
>
> Thanks in anticipation.
For anyone who started to look at this, then thank you, but I have figured
it out for myself so I dont need help any further on this question.
Cheers - Terry
.
- References:
- class attribute
- From: Terry Moon
- class attribute
- Prev by Date: Re: check form data before sending to a server
- Next by Date: Re: DOM Prototypes?
- Previous by thread: Re: class attribute
- Next by thread: Re: Anchortag in URL not working in IE6
- Index(es):
Relevant Pages
|