To keep a server-side log of JavaScript errors : post « jQuery « JavaScript Tutorial






$(window).error(function(msg, url, line){
  jQuery.post("error_log.php", { msg: msg, url: url, line: line });
});
30.79.post
30.79.1.To keep a server-side log of JavaScript errors