Displaying 1 result from an estimated 1 matches for "hidebusy".
2006 Jun 26
2
Prototype Ajax event handlers
...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",
      parameters: "today=" + today +"&hotel_id=" + "<?=$_SESSION[hotel_id]?>"
      });
}
function showBusy(){
   new Effect.Appear(''busy'',{duration:0.5,queue:''end''});
}
function hideBusy...