Hey,
Is it possible to get the default value of an element's
style.backgroundColor property that's set in a css class?
Example, since I'm very tired and can't word that any better ;)
input.example { background-color: #fff }
and the javascript:
var original = document.formname.example.style.backgroundColor;
returns null. Any ideas?
I should stress at this point any hard coded colours are not an option,
since the site is themeable and I don't want to introduce any conflicts.
Thanks in advance.
--
Philip
email-o-mask-o: spam->mouse