Clear Up
SharpKit Reference

AjaxSettings.beforeSend Property

A pre-request callback function that can be used to modify the jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object before it is sent. Use this to set custom headers, etc. The jqXHR and settings maps are passed as arguments. This is an Ajax Event. Returning false in the beforeSend function will cancel the request. As of jQuery 1.5, the beforeSend option will be called regardless of the type of request.

Namespace: SharpKit.jQuery

Class: AjaxSettings


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

Return Value

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