hryan
12-10-2002, 03:54 PM
How can I change dynamicaly className in NS?
In IE I do this in this way:
document.userform.id['f'].className='a';
or
f.className='a';
This changes current classname to class named 'a'.
But this don't work in NS! In fact I even can not acces in this way to id.
I will be appreciated of any suggestions or help
In IE I do this in this way:
document.userform.id['f'].className='a';
or
f.className='a';
This changes current classname to class named 'a'.
But this don't work in NS! In fact I even can not acces in this way to id.
I will be appreciated of any suggestions or help