caperajax

1.1.2 • Public • Published

Caper.js

MIT License npm version Gitter

Easier using ajax function in JAVASCRIPT

Install

$ npm install caperajaxjs

Download it

github.com/WMXPY/Caper.js.git

Source it

<script src="caperAjax.js"></script>

And Use it

Ca$.post({
        url: './demo.php',
        data: {
            demo: 'test',
            two: 'testtwo'
        },
        success: function (reply) {
            document.getElementById('test').innerHTML = reply;
        }
    });
Ca$.get({
        url: './demo.php',
        data: {
            demo: 'test',
            two: 'testtwo'
        },
        success: function (reply) {
            document.getElementById('test').innerHTML = reply;
        }
    })

Enjoy it

Readme

Keywords

Package Sidebar

Install

npm i caperajax

Weekly Downloads

0

Version

1.1.2

License

MIT

Last publish

Collaborators

  • wmxpy