Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping errors.
Message
De
09/04/2002 22:07:12
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Trapping errors.
Divers
Thread ID:
00642979
Message ID:
00642979
Vues:
70
Hi all,

I have a webpage that contains frames. I am calling a page from an outside website and displaying it within one of my frames. My problem is that the external page I am calling contains links and if I hover over one of these links, a javascript error pops up saying that "parent.document.... is invalid" because this link is referencing a frame on its home website that doesn't exist on my website. Is there any way to trap this error? I tried putting a javascript function on my index page that simply returned true when the window.onerror event fired, but it didn't work since the error originated on the page from the external site.

Thanks in advance!
Répondre
Fil
Voir

Click here to load this message in the networking platform