You spell it success not sucess ;-)
On 27 Mar 2010, at 10:36, Steve Onnis wrote:
> Is there something special you need to do to get a JSON request to fire the
> onSucess event? I am getting the onComplete event getting fired but not the
> onSucess as per the examples.
>
> Its just a simple one..
>
>
> new Request.JSON({
> url : "notifications.cfm",
> onFailure : function () {
> console.log("onFailure")
> },
> onException : function () {
> console.log("onException")
> },
> onComplete : function () {
> console.log("onComplete")
> },
> onSucess : function (result) {
> console.log("onComplete")
> }
> }).get({})
>
> To unsubscribe from this group, send email to
> mootools-users+unsubscribegooglegroups.com or reply to this email with the
> words "REMOVE ME" as the subject.
To unsubscribe from this group, send email to
mootools-users+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.