Update: The website mentioned below is no longer live. I will keep the post active for historic purposes, but the links have been removed.

You may be interested in some example ajax code posted over on funwithjustin. He has some nice simple examples which are available as demos on his site and also available for download.

The Ajax Toybox (link removed)

Nice One!!