Results 1 to 3 of 3
Mar 11, 2012, 04:47 #1
- Join Date
- Sep 2008
- 0 Post(s)
- 0 Thread(s)
I have an element which is hidden by using a CSS class named 'hide' (simply display:none).
I want to be able to display this using JS (by removing the display:none).
I need to change the class, but also ensure other classes (if applicable) aren't removed from that element (so it doesn't just replace a 'show' class with all other classes).
I know that document.get.ElementById('element-id').class doesn't do anything.