td.background access in js
td.background access in js
- Started
- Last post
- 7 Responses
- kinetic
i can set the background of a td in js using document.getElementById("lrgImg... in IE, but firefox is a no go
anyone know how to access this property in firefox?
- acescence0
getElementById().style.backgroun...
- kinetic0
hmm didn't seem to work
i get an "invalid argument" error
- kinetic0
im trying to change the background image
i have a td...and when i click prev / next buttons i am changing the background image of the td by cyclng through an array.....works in IE
- monNom0
style.backgroundImage
not sure if it needs to be "url(path)" or just "path"... you can google that part.
- kinetic0
nice!!! thanks :)