jQuery postdatas plugin
Example:
Here is our first example post data on button click.
The Source code :
$('#example1').click(function(){ $.postdatas({ url:'http://demos.mimiz.local/jquery/postdatas/example/1', datas:[ {name:'field1', value:'value1'}, {name:'field2', value:'value2'}, {name:'field3', value:'value3'} ] }); });
There is no return of the post, but if you try to reload the page, your browser may ask you for a confirmation to re post datas.
Using postdata plugin like above, is the same as adding an html form like this :
Feel free to leave on comment here.