Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mimiz/jquery-postdatas-plugin
Just a little jQuery plugin to post datas with javascript,
https://github.com/mimiz/jquery-postdatas-plugin
Last synced: 1 day ago
JSON representation
Just a little jQuery plugin to post datas with javascript,
- Host: GitHub
- URL: https://github.com/mimiz/jquery-postdatas-plugin
- Owner: mimiz
- Created: 2013-07-06T20:29:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-06T20:36:18.000Z (over 11 years ago)
- Last Synced: 2024-11-09T15:04:01.377Z (7 days ago)
- Language: JavaScript
- Homepage: http://www.mimiz.fr/en/javascript/jquery/en-jquery-postdatas-plugin/
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jquery postadas plugins
Just a little jQuery plugin to post datas with javascript, technically, this plugin add a hidden form in the page, all form fields are hidden, and then submit this form.
[Demo Page](http://demos.mimiz.fr/jquery/postdatas)## Usage :
Just add the file jquery.postdatas.version.js, in your page and then you can use it :
$.postdatas({
url:'http://url.to.the.page/page.php',
datas:[ // datas
{name:'fieldName1', value:'field 1 value'},
{name:'fieldName2', value:'field 2 value'},
{name:'fieldName3', value:'field 3 value'}
]
});That’s all …
## Options
Options Description Default
* url (String) - the URL where you want to post your datas
* datas (Array) - Array of datas you want to post