Javascript problems in IE

Discussion in 'Programming' started by ste.richards, Aug 19, 2008.

  1. #1
    I have a page that has a checkbox which upon ticking and un-ticking it runs a Javascript function to alter the CSS and set a div element to hidden and display. This works fine in Firefox 2 & 3 but when used in IE7 nothing happens when you tick and un-tick the box until you click somewhere on the page. The page is http://vivaciti.net/adslPanel/signupScript-migrate.php Reply or PM me if you're interested in taking a look. Thanks,
     
    ste.richards, Aug 19, 2008 IP
  2. Shoro

    Shoro Peon

    Messages:
    143
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Change "onChange" in the checkbox HTML to "onClick". Also, the page doesn't have start tags for head and html.
     
    Shoro, Aug 19, 2008 IP
  3. ste.richards

    ste.richards Guest

    Messages:
    46
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    That's worked. Thanks a lot for your help.
     
    ste.richards, Aug 19, 2008 IP