Re: class attribute



> 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




.



Relevant Pages

  • Re: DAB will be mainstream, hi-fi needs saving
    ... > Terry wrote: ... Thats my real name and email address - I dont hide my ... Regards ... Prev by Date: ...
    (alt.radio.digital)
  • Re: mouse clicked Area from C# DOM
    ... image or html element i dont want to set the height and ... what to supply in string to get the windth, ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Create an IFRAME Dynamically
    ... > words creating the HTML element in the server side code? ... Please delete "REMOVE" from the e-mail address when replying. ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: mouse clicked Area from C# DOM
    ... size of image or html element i dont want to set ... You can use setAttribute to assign width= and height= attributes. ... -- RFC 1925 ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Placing Element in the Middle of the client screen
    ... Guus Ellenkamp wrote: ... We use Javascript. ... >> I would like to put an HTML Element in the middle of the web page? ... Prev by Date: ...
    (microsoft.public.scripting.jscript)