0.8.1 • Published 5 years ago

@ruwork/frujax v0.8.1

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

Frujax

A JavaScript library to send and process AJAX requests with ease.

Installation

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="frujax.js"></script>

Usage

$('.frujax-btn').frujax({
    url: '/ajax',
    target: '#container'
});

Or you can use data-frujax attribute to quickly setup frujax on any element.

<button data-frujax='{"url": "/ajax", "target": "#container"}'>Action!</button>

Clicking the link will load the contents of the /ajax page into the #container element.

0.8.1

5 years ago

0.7.7

6 years ago

0.7.6

6 years ago

0.7.5

6 years ago

0.7.4

6 years ago

0.8.0

6 years ago

0.7.3

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago