473,326 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

onerror event

onerror event is tied to:

1. the page
2. one per script tag
3. can have cascades of one per control

if 3 is true, what are the controls that implement it?

PS: I agree that try/catch/exception handling is much superior. I am
just curious because I am beginning JavaScript properly and would like
my study to be complete.

Apr 18 '06 #1
2 1411
Water Cooler v2 said the following on 4/18/2006 11:35 AM:
onerror event is tied to:

1. the page
Not "the page" but the window object.
2. one per script tag
Objects can have an onerror property as well.
3. can have cascades of one per control
if 3 is true, what are the controls that implement it?
"Cascades of one per control"? URL to where that concept is explained?
PS: I agree that try/catch/exception handling is much superior.
Agree with who? try/catch doesn't have wide enough support yet on the
Web in general to be "superior".
I am just curious because I am beginning JavaScript properly and would like
my study to be complete.


Stay away from W3Schools.com then. If you must/desire to read it, verify
what you read/learn there. Either here in c.l.j or from the
documentation. Not everything on that site is factually true or complete.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 18 '06 #2
I am sorry, Randy. w3schools didn't mention or even infer that there
could be an onerror per object or control. I was ruminating, and
perhaps too far. However, I do agree that w3schools is not the best
deal when it comes to forensics. It's good for a start, though.

Apr 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: bjarthur | last post by:
i have (see below) what i think is a fairly simple algorithm, but yet it doesn't work. given a directory with consecutively numbered jpeg files (1.jpg, 2.jpg, 3.jpg...), it is designed to count...
0
by: Janus | last post by:
Hello. I need a little help to get this thing finished. Im trying to catch js errors and the event works as expected. However I have created an event from doc.parentWindow but when it fires im...
2
by: Tee | last post by:
what's the differences between "Overrides Sub OnError" and "Sub Page_Error" ?
3
by: Nick Gilbert | last post by:
Hi, I'm using the following code to execute a DTS package from .NET: http://support.microsoft.com/?kbid=319985 However when I run my package from ASP.NET, only the OnQueryCancel event seems...
3
by: Tobius | last post by:
I want to be able to define a custom onerror event that detects an attempt to call a known function and load a file if it's not already loaded and re-call the function. The only problem is that any...
0
by: JR | last post by:
I am opening a html page using showModalDialog. To the page's onError event, i am attaching custom event handler. When ever any exception occures, onError event is firing 2 times. I found the same...
2
by: sid | last post by:
I am writing a webpage that loads another frame. I have written a routine to trap the "OnLoad" event and test to see if the page I wanted to be loaded was what was loaded. But, that only works...
3
Plater
by: Plater | last post by:
I am using the onerror event for the image tag in an attempt to save overhead for my server (which will be on a microprocessor) Basicly it tries to load the images from a real server on the...
4
by: josh | last post by:
Hi if I try to attach onerror event via addEventListener window.addEventListener("error", myError, false) it does not work as it pass to myError only the event object but not the three...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.