New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jquery-net

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-net

jquery ajax manager

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
7
40%
Maintainers
1
Weekly downloads
 
Created
Source

Net

a lightweight jQuery ajax manager

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="dist/jquery.net.min.js"></script>
<script>
jQuery(function($) {

    $.net.add('ajax1', '/test/ajax1','post', netOpt);
    $.net.get('ajax2', '/test/ajax2', netOpt);
    $.net.post('ajax4','/test/ajax4', netOpt);
    $.net.unaudit('ajax5','/test/ajax5');
    $.net.jsonp('ajax6','http://github.com/test/ajax7');

    $.net.connect('ajax1', {id:111}, function(data) {
    	console.log(data);
    },{
    	1:function(data){alert(data)},
    	normal:function(data){},
    	end:function(data){}
    });

    $.net.connect('ajax1', {id:111}, function(data) {
    	console.log(data);
    });
    $.net.connect('ajax2', function(data) {
    	console.log(data);
    });

    $.net.connect('ajax6');
});
</script>

Documentation

(Coming soon)

Examples

(Coming soon)

Release History

(Nothing yet)

Keywords

jquery-plugin

FAQs

Package last updated on 28 Oct 2014

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