Results 1 to 1 of 1

Thread: hta error with change bgcolor

  1. #1
    Join Date
    Mar 2011
    Posts
    2,144
    Thanks
    59
    Thanked 116 Times in 113 Posts
    Blog Entries
    4

    Default hta error with change bgcolor

    Hello everyone,

    This is index.hta
    Attachment 4288

    This is basic.css
    Attachment 4289

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

    HTML Code:
    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 ');
    Last edited by keyboard; 03-20-2012 at 11:20 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •