Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Javascript, manipulate browser windows
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00992507
Message ID:
00992707
Vues:
19
>I can't take credit for this one... I ran into the same problem but here's where I got the answer:
>http://www.actionscript.org/forums/showthread.php3?s=&threadid=22100
>
>here's the code we used:
>getURL("javascript:window.opener=self; window.close()");

This is a hack that I would steer clear of. JavaScript is not intended to be able to close a window it did not open. Though it works with some versions of IE now, the bug may be fixed in future updates. This does not work with all browsers such as Firefox and others based on the latest Mozilla release.
Michael McLain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform