Latest Lists

JavaScript/CSS beginner question?

I need to know how to change the style of an element that I set, with a CSS document, in a JS function. I don't know if this makes a difference or not but it's in an unordered list. I can't seem to find the right way to access the element. I am trying to change the background of a link and change what picture is displayed.

Public Comments

  1. <element>.style.<style property> = value; Like document.GetElementById('myDiv").style.display = none;
  2. ASP Tutorials- http://asptutoring.info/
Powered by Yahoo! Answers