JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old January 22nd, 2002, 04:26 PM
Pikachu420 Pikachu420 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Sweden
Posts: 45 Pikachu420 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
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

Reply With Quote
  #17  
Old January 22nd, 2002, 05:47 PM
mccutchen mccutchen is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 28 mccutchen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hey, i think that binky gave you exactly what you were asking for, you ***.

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.

Reply With Quote
  #18  
Old January 22nd, 2002, 09:56 PM
Pikachu420 Pikachu420 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Sweden
Posts: 45 Pikachu420 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Thumbs up

Thanks for pointing that out, asshole!

Reply With Quote
  #19  
Old January 23rd, 2002, 03:14 AM
binky's Avatar
binky binky is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: New Zealand
Posts: 1,774 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 58 m 15 sec
Reputation Power: 23
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!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Prevent code from running? (JavaScript)

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap