Displaying 1 result from an estimated 1 matches for "bakc".
Did you mean:
back
2005 Oct 27
5
Problem passing event object
...chkbox);
var myAjax = new Ajax.Request(''server/checkRequired.html'',
{method: ''get'', parameters: params, onSuccess: this.switchPrompt
,onFailure: this.dontCheck}
},
switchPrompt: function() {
alert(this.evt); // Try to pick up the this.evt var, but it comes
bakc as undefined
},
dontCheck: function(response) {
// failure
}
}