"Danny@Kendal" <danny@removethisbit.ghpkendal.co.uk> writes:
[color=blue]
>
> This any help? I tried your code and got "Exception thrown and not caught"
> so I Googled on that phrase and found this link.
>
>
http://msdn.microsoft.com/library/de...nnotcaught.asp[/color]
Thank you for the link, it made me try the following:
----snip----
try {
try {
throw "Error!!";
} finally {
document.write ("finally executed");
}
} catch (e) {
alert (e);
} finally {
alert ('last finally');
}
----snip----
... and it works as expected. I must admit I don't really understand
what makes it work, while the other example fail.
Maybe a problem of "using-try/catch/finally-blocks-too-early-before-
the-page-is-fully-loaded" or something..
Thank you for the pointer! :)
Best regards,
Arnaud
--
Arnaud DIEDEREN
Software Developer
IONIC Software
Rue de Wallonie, 18 - 4460 Grace-Hollogne - Belgium
Tel: +32.4.3640364 - Fax: +32.4.2534737
mailto:ad@ionicsoft.com
http://www.ionicsoft.com