Handling JSON Responses with Prototype Version < 1.5.1

February 17th, 2009

One of the pitfalls with submitting form data on the web is that control leaves the current page and the developer is responsible for rendering the form with its data in the event of a system or validation error. There’s a number of techniques to overcome this arduous task. One such technique involves never leaving [...]

AJAX Array Anomalies

April 21st, 2008

One of the oddities with using the Prototype JavaScript library, an implementation of AJAX, is that it overloads existing JavaScript objects with additional methods enhancing functionality. The downside to this is that it causes legacy JavaScript code in certain situations cease workingy. A good example is iterating over JavaScript Arrays. There’s been a few occasions [...]