News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Jim Plush's Blog:
AJAX, PHP and Javascript Errors - How to get more data
January 02, 2006 @ 16:09:01

Via our sister site, AjaxDeveloper.org today, there's a pointer to this post on Jim Plush's blog - "AJAX, PHP and Javascript Errors - How to get more data".

Javascript is a powerful tool in the web programmers toolbox however, it's also one of our greatest headaches. Dealing with browser inconsistencies is always a source of great pain. You test on multiple platforms, find everyone you know with a mac running safari and think you have your code locked down however it rarely always works out this way. Being able to detect javascript errors in the wild can be a great resource for you to really see how your code is performing on a day to day basis.

The key to it is that it uses a global function that IE and Mozilla both have to create a global-level error handler for the page - "onerror". He shows you how, with a few simple lines, you can create the function (with an alert inside) and, together with a little bit of Ajax and PHP magic, write it out to an error logging script for review...

0 comments voice your opinion now!
php ajax javascript get more data error log php ajax javascript get more data error log



Similar Posts

ThinkPHP Blog: Slides from International PHP Conference, part 1

Derick Rethans\' Blog: PHP Look Back 2005

Ozh\'s Blog: PHP and GD - Emulate Gradient Fill

DevArticles: Sending Email with AJAX - Interacting with the Server

Jim Plush\'s Blog: Censorship at Zend??? Zend Encoder swept under the rug


Community Events









Don't see your event here?
Let us know!


releases release job PHP5 code example ajax application cakephp framework developer zend zendframework PEAR package conference book security database mysql

All content copyright, 2009 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework