DOM question
DOM question
Out of context: Reply #5
- Started
- Last post
- 10 Responses
- illtronix0
first you have to identify the target object this way
targetdiv=document.getElementByI... of your div');
then you can say
targetdiv.style.backgroundColor... color
adding '#' shouldnt make a diff but its goodie good praktees