PDA

View Full Version : Resolved hta error with change bgcolor



keyboard
01-26-2012, 12:04 AM
Hello everyone,

This is index.hta
4288

This is basic.css
4289

Sometimes when I load the html application, it comes up with an error for line 39 - Invalid Property Value


document.getElementsByTagName("body")[0].style.backgroundColor = "#" + ColorValue;

and I can't work out why.
Could someone please hae a quck look through and see if anything jumps out.
I'm pretty sure it's a javascript error.
Keyboard1333

EDIT(' Just fixed it ');