All Projects → WeideMo → miniAjax

WeideMo / miniAjax

Licence: MIT license
🚀A mini Ajax library provides Ajax, jsonp and ready features for simple web applications.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to miniAjax

Reqwest
browser asynchronous http requests
Stars: ✭ 2,918 (+4255.22%)
Mutual labels:  ajax, jsonp
AjaxHandler
ASimple PHP Class to help handling Ajax Requests easily
Stars: ✭ 30 (-55.22%)
Mutual labels:  ajax, jsonp
Bs grid
Bootstrap Datagrid
Stars: ✭ 184 (+174.63%)
Mutual labels:  ajax
demo-chatroom
go+iris+jwt+mysql+xorm+viper,iris项目实战简易聊天室,登录、注册、私聊、群聊。
Stars: ✭ 47 (-29.85%)
Mutual labels:  ajax
Vue2 Autocomplete
Vue 2 Component to make Autocomplete element.
Stars: ✭ 227 (+238.81%)
Mutual labels:  ajax
Wretch
A tiny wrapper built around fetch with an intuitive syntax. 🍬
Stars: ✭ 2,285 (+3310.45%)
Mutual labels:  ajax
Ajax Live Search
AJAX Live Search is a PHP search form that similar to Google Autocomplete feature displays the result as you type.
Stars: ✭ 238 (+255.22%)
Mutual labels:  ajax
Fable.remoting
Type-safe communication layer (RPC-style) for F# featuring Fable and .NET Apps
Stars: ✭ 175 (+161.19%)
Mutual labels:  ajax
EMAN
一个基于SSM框架与物品的协同过滤算法(ItemCF)的简单电子书推荐系统
Stars: ✭ 48 (-28.36%)
Mutual labels:  ajax
Bbs Ssm
南生论坛基于SSM框架,自适应手机端和电脑端,界面简洁美观,功能完善。演示地址:http://www.nanshengbbs.top
Stars: ✭ 221 (+229.85%)
Mutual labels:  ajax
WebDAVAjax
WebDAV AJAX Library for opening docs from a web page and saving back directly to server in a SharePoint-like manner.
Stars: ✭ 16 (-76.12%)
Mutual labels:  ajax
Learn To Send Email Via Google Script Html No Server
📧 An Example of using an HTML form (e.g: "Contact Us" on a website) to send Email without a Backend Server (using a Google Script) perfect for static websites that need to collect data.
Stars: ✭ 2,718 (+3956.72%)
Mutual labels:  ajax
Bliss
Blissful JavaScript
Stars: ✭ 2,352 (+3410.45%)
Mutual labels:  ajax
Django Bootstrap Modal Forms
A Django plugin for creating AJAX driven forms in Bootstrap modal.
Stars: ✭ 244 (+264.18%)
Mutual labels:  ajax
Zl Fetch
A library that makes the Fetch API a breeze
Stars: ✭ 186 (+177.61%)
Mutual labels:  ajax
ljq vue music
vue2 + vue-router2 +vuex + jsonp + es6 +webpack 抓取QQ音乐真实数据的移动端音乐WebApp
Stars: ✭ 43 (-35.82%)
Mutual labels:  jsonp
Lajax
🚀 lajax - 前端日志解决方案。
Stars: ✭ 181 (+170.15%)
Mutual labels:  ajax
Axios Tutorial
axios实例应用及源码剖析 - xhr篇 (走心教程)
Stars: ✭ 219 (+226.87%)
Mutual labels:  ajax
Ajax Form
HTML forms on performance-enhancing drugs
Stars: ✭ 232 (+246.27%)
Mutual labels:  ajax
Ajaxinate
🎡 Ajax pagination plugin for Shopify themes
Stars: ✭ 107 (+59.7%)
Mutual labels:  ajax

miniAjax

A mini Ajax library provides Ajax, jsonp and ready features for simple web applications.

miniAjax

Browsers support

Chrome Firefox Safari Opera Edge IE

Usage

There are only 3 interfaces in miniAjax, including Ajax, jsonp and ready functions:

ajax

ajax({
    url: "./testXhr.php",                       //links to server
    type: "POST",                               //request method
    data: { name: "WeideMo", age: 26 },         //request params
    dataType: "json",                           //received dataType
    success: function (response, xml) {
        // do something when success
    },
    fail: function (status) {
        // do something when fail
    }
});

jsonp

jsonp({
    url:"https://github.com/WeideMo/",  //links to server
    callback:"callback",                //reception callback name negotiated with the backend-server
    data:{id:"1000120"},                //request params
    success:function(json){
        // do something when success
    },
    fail:function(){
        // do something when fail
    },
    time:10000                          //custom timeout
})

ready

ready(function(){
    // do something when page ready
})

Fetures

High coverage of browsers

Almost support all of the browsers, even the original IE series.

light Weight

The compressed version is less than 2K, if you use gzip, it will be less than 1K.

Pure

MiniAjax is just the basic requirement to meet web development.It's only responsible for three things: Ajax , jsonp and ready.

More

You can get more principles and usage ->https://github.com/WeideMo/jsonp

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].