Can anyone help with this function which brakes on the first chain: window.addEvent('domready', function(){ $('start').addEvent('click', function(e) { e = new Event(e).stop(); var url = "http://localhost/seo/index.php/index/custom_1"; new Ajax(url, { method: 'get', update: $('log') }).request() .chain(function(){ url = "http://localhost/seo/index.php/index/custom_2"; update: $('log') this.request(); }) .chain(function(){ url = "http://localhost/seo/index.php/index/custom_3"; update: $('log') this.request(); }); }); }); Code (markup):