Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Ajax Dot Net 2.1.0-Release


Release Notes

This release has been created primarily for backwards compatibility. New users should use version 3.

New Options

Event Handlers

beforeSend
Allows you to alter the XMLHttpRequest object before the call is made.
processData
Allows you to provide post processing rules to the response received from the server.
error
A more specific error handler.
complete
Fires after all other handlers.

Other Parameters

async
Allows the user to choose between synchronous and asynchronous.
username
User name used in basic HTTP authentication.
password
Password used in basic HTTP authentication
context
Passes an object to the success, other, error and complete event handlers

Depreciated Options

Event Handlers

other
superceeded by the error handler.

New Functions

globals
ajaxDotNet now supports global event handlers. Global event handlers fire irrespective of per call handlers.
defaults
Defaults for each of the options can be set using this function. While this function replaces the defaults property, in the interests of backwards compatibility, replacing this function with a defaults object will still work.