You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

component-ajax

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

component-ajax

Standalone AJAX library inspired by jQuery/zepto

0.0.1
Source
npm
Version published
Weekly downloads
629
4.83%
Maintainers
1
Weekly downloads
 
Created
Source

ajax

Standalone AJAX library inspired by jQuery/zepto

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

FAQs

Package last updated on 28 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts