Displaying 2 results from an estimated 2 matches for "updatecalendar".
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",
parameters: "today=" + today +"&hotel_id=" +...
2005 Oct 03
0
Prototype Ajax.Request (onLoading and onSuccess) question
...{method:''get'',
parameters: pars,
onLoading: myxa.onLoading,
onSuccess: myxa.updateCalendar,
onFailure: function(t) {
alert(''onFailure: '' + t.statusText); myxa.removeCalendar(t);},
on404: function(t) { alert(''on404:
'' + t.statusText); myxa.removeCalendar(t);}...