View Single Post
  #5 (permalink)  
Old December 10th, 2003, 10:07 PM
Snib Snib is offline
Friend of Wrox
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts

I see...

I used

document.getElementById("text_box").style.backgrou nd-color="#eeeeee";

and I think JavaScript is confused by the "-" in "background-color."

If you know how to get around this, this way might work.


Reply With Quote