Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DOM Changes Won't Display

    I have a table in IE 6.0 listing several items where clicking on a row will bring up another window showing details for that item. Clicking a particular button on the detail window will change how that item appears on the initial list screen by altering it's background color, class name, and default cursor.

    The problem I'm having is this -- sometimes it works and sometimes it
    doesn't.

    There doesn't appear to be any rhyme or reason as to when it works and when it doesn't. Below is a code snippet showing how I'm going about making these changes. Any input would be appreciated.

    trNode.className = "approved";
    trNode.style.backgroundColor = approvedColor;
    trNode.style.cursor = "default";

  • #2
    Regular Coder
    Join Date
    Jan 2004
    Location
    Port Huron, MI, U.S.A.
    Posts
    280
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Could you post a link to the actual document, please?
    Oh, was I supposed to put something here? ........


  •  

    Posting Permissions

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