Skip to content

VaskoTasev/jquery.redirect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

jQuery.redirect

A simple HTTP POST and GET Redirection Plugin for jQuery

  • Easy to use
  • GET and POST requests
  • Works in any WebBrowser
  • Supports nested objects and arrays

Usage:

/**
* jQuery Redirect
* @param {string} target - Url of the redirection
* @param {Object} values - (optional) An object with the data to send. If not present will look for values as QueryString in the target url.
* @param {string} method - (optional) The HTTP verb can be GET or POST (defaults to POST)
*/
$.redirect(target, [values, [method]])

How does it work?

The function jQuery.redirect will create a form and populate it with the data (it supports nested values).

About

jQuery Redirect Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%