Skip to content
Wrapper around jQuery AJAX requests - allows to run code before and after each request automatically.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Ajax.js
LICENSE
README.md

README.md

js_fetch

Wrapper around jQuery AJAX requests - allows to run code before and after each request and logs errors automatically.

Created as an example for my blog.

Usage

AJAX
  .fetch('backend_script.php', dataObj, $(this))
  .done(function (response) {
    console.log(response)
  })
You can’t perform that action at this time.