My first attempt at AJAX and i've got stuck with some trouble shoo

Basic AJAX problem

Posted 12 February 2007 - 05:46 PM

The following is essentially my first attempt programming using the AJAX methodology, though not my first attempt programming with ASP or javascript. I'll start by simply posting the various parts of the code, then explain a little more about the specific help i'd like. The online sample is available at www.mbraybrook.co.uk:40/ajax/myajax/index.asp

I obtained the bulk of this from an external source and while i understand what it is trying to do, apparently i dont know enough to debug it. I think the error occurs when i attempt to either create or split the "update" variable.
This is the asp page that is called: