Skip navigation

Monthly Archives: July 2009


Do you need a meaningful error report?

onerror = handleErr;
var errorText="";
function handleErr(msg,url,l) {
errorText="There was an error on this page.\n\n";
errorText+="Error: " + msg + "\n";
errorText+="URL: " + url + "\n";
errorText+="Line: " + l + "\n\n";
errorText+="Click OK to continue.\n\n";
alert(errorText);
return true;
}


While testing in IE, it will give you more hints.

Follow

Get every new post delivered to your Inbox.

Join 126 other followers