Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Standalone AJAX library inspired by jQuery/zepto
tag: 0.0.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
.gitignore
README.md
ajax.min.js
build.bat
component.json
index.js

README.md

ajax

Standalone AJAX library inspired by jQuery/zepto

Installation

You can use component:

component-install ForbesLindesay/ajax

Then load using:

var ajax = require('ajax');

Or load using a script tag (downloads are available here)

<script src="ajax.min.js"></script>

Then just refer to it in your script as ajax

API

ajax(url, settings)

url A string containing the URL to which the request is sent. settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with ajax.settings. See ajax(settings) below for a complete list of all settings.

ajax(settings)

settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with ajax.settings.

For a list of available settings see:

http://api.jquery.com/jQuery.ajax/

Something went wrong with that request. Please try again.