13524809670 / ajax-1

Standalone AJAX library inspired by jQuery/zepto

Home Page:https://component.jit.su/ForbesLindesay/ajax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ajax

Standalone AJAX library inspired by jQuery/zepto

Sponsor

Installation

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/

License

MIT

If you find it useful, a payment via gittip would be appreciated.

viewcount

About

Standalone AJAX library inspired by jQuery/zepto

https://component.jit.su/ForbesLindesay/ajax

License:MIT License


Languages

Language:JavaScript 95.4%Language:HTML 4.6%