REGISTER











Js-try catch
#1
Code:
var txt="";
function message()
{
try
{
adddlert("Welcome guest!");
}
catch(err)
{
txt="There was an error on this page.\n\n";
txt+="Error description: " + err.description + "\n\n";
txt+="Click OK to continue.\n\n";
alert(txt);
}
}
Reply



Powered by MyBB All rights reserved
Developed with for FASTCS 2011 - 2024 FASTCS