|
|
Q503 How do you handle runtime errors in JavaScript?
irt.org | Knowledge Base | JavaScript | General | Q503 [ previous next ] Q503 How do you handle runtime errors in JavaScript?The first thing to do is code your JavaScript so that the error does not occur - I've yet to see a problem that cannot be tackled by checking first to see if something will work, before allowing it to fail. You can then try using the onerror event handler available in Netscape Navigator 3+:
Feedback on 'Q503 How do you handle runtime errors in JavaScript?' |
-- div -->
|