Javascript Q?
Javascript Q?
- Started
- Last post
- 2 Responses
- REDWOOD
Hi i'm having a litle problem
function chgColor1(layerid){
var layer = document.getElementById(layerid...
layer.style.background-color = "#000000";
}what is wrong with the .background-color style how should i define it?
THNX
- stewart0
maybe the space between the r&o...
- mitsu0
try
backgroundColor (js)
instead of
backgr ound-color (css)