December 29, 2008JavaScript Errors: Testing for the existence of functions in JavaScript

When using multiple JavaScript libraries, it is inevitable that one JavaScript file will need to call functions named in other libraries. This is necessary but can cause issues if all of the libraries aren't present.

Error handling with JavaScript is somewhat lackluster. With this in mind, you should do your best to catch and handle errors and avoid sending them to the end-user. In order to prevent errors and allow for scalability, you should test for functions that aren't present in the script where you are calling them.

Read Full Article...

AddThis Social Bookmark Button Posted by Greg Ferrell at 06:38 PM. Filed under: JavaScript • (0) CommentsPermalink
December 10, 2008All comments on the Code Blog now require moderator approval

Unfortunately, the griefers of The Internet, comment spammers, have made it necessary to take the precaution of requiring all comments made on this site to be moderated. This means that any comments posts you see will not be imeadiately visible until moderator approves it. I apologize for the inconvenience, but the spam just isnt good for anyone, and this is the only way I can keep up with it.

On a side note: I realize I haven't posted in a while, but a lot of things have been happening in my home life recently. However, I do have some posts in the pipeline, so subscribe to the RSS feed and keep checking back. Thanks to all the readers for your support.

Read Full Article...

AddThis Social Bookmark Button Posted by Greg Ferrell at 10:46 PM. Filed under: News • (0) CommentsPermalink

Page 1 of 1 pages