Clear Up
SharpKit Reference

AjaxSettings.error Property

A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred. Possible values for the second argument (besides null) are "timeout", "error", "abort", and "parsererror". When an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." As of jQuery 1.5, the error setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and JSONP requests. This is an Ajax Event.

Namespace: SharpKit.jQuery

Class: AjaxSettings

Syntax

public JsAction<T1, T2, T3> error { get; set; }

Return Value

Type: SharpKit.JavaScript.JsAction<T1, T2, T3>
© Copyright 2005-2011 SharpKit. All rights reserved.