Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Sweden
    Posts
    45
    Rep Power
    14
    To everyone who continues to post in spite of the fact that they can't answer my original question:
    I fully understand that you think that resolving errors is better than suppressing error messages, but you have no idea what my code looks like or what I'm trying to achieve. I feel I have to repeat myself: please don't participate in the thread if you won't contribute with anything else than bitching and "holier than though" comments.
    // Pikachu420
  2. #17
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    28
    Rep Power
    0
    hey, i think that binky gave you exactly what you were asking for, you ass.

    Code:
    window.onerror = handleError;
    function handleError() {
    	// any custom error code here
    	return true;
    }
    this works in IE 6, and i don't feel like testing it elsewhere.

    or, you could do this if you only want to supress the error:
    Code:
    window.onerror = null;
    Last edited by mccutchen; January 22nd, 2002 at 08:33 PM.
  4. #18
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Sweden
    Posts
    45
    Rep Power
    14

    Thumbs up


    Thanks for pointing that out, asshole!
    // Pikachu420
  6. #19
  7. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Oct 2001
    Location
    New Zealand
    Posts
    1,774
    Rep Power
    24
    Don't think I'll rise to it... oh, go on then.... asshole!



    That was fun, shame it's a new day and my Netscape woes of yesterday are left behind, so I don't feel like there's anything behind that asshole. Damn!
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo