SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Dec 2002
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    attachEvent issues

    hey there... I am trying to play around with unobtrusive dhtml and such and was trying to get this page to work...

    the idea is that when someone clicks a checkbox the event is fired...
    seems to work fine in mozilla, but fails in IE6/win...

    So I have to go home and sleep maybe... so anyone have any helpful clues?

  2. #2
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    t2 in l_func is not declared local, but it needs to be:

    var t2 = document.getElementById("t2");

  3. #3
    SitePoint Addict
    Join Date
    Dec 2002
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks but even with that change the script still fails in ie...
    so I am going to try a different approach


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
  •