search for: myglobalhandlers

Displaying 2 results from an estimated 2 matches for "myglobalhandlers".

2006 May 16
1
Ajax.Responders and onComplete
Hi all. I''m writing some kind of filter that i want passby my all AJAX request, and I stuck. I create object and pass him to Ajax Responders like this: var myGlobalHandlers = { onCreate: function(){ Element.show(''loading''); }, onComplete: function(request) { alert(request.responseText); } }; Ajax.Responders.register(myGlobalHandlers) and when I made ajax call alert show me always undefined. Call was made both by...
2006 Jun 26
2
Prototype Ajax event handlers
I''ve been trying to use the prototype.js Ajax obect''s event handlers (onCreate, onComplete) inside the options tags as below: function updateCalendar(today, id){ new Ajax.Updater("calendars", "calendar.inc.php", {asynchronous: true, onCreate: function(){ showBusy }, onComplete: function(){ hideBusy }, method: "get",