Standalone AJAX library inspired by jQuery/zepto
npm install component-ajaxajax
====
Standalone AJAX library inspired by jQuery/zepto
component-install ForbesLindesay/ajax
`
Then load using:
`JavaScript
var ajax = require('ajax');
`
Or load using a script tag (downloads are available here)
`html
`
Then just refer to it in your script as ajax
API
$3
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.
$3
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`.