The "Claudio Bredfeldt" poster is on the right track to do this, but it omits the important information needed to complete this work.
Forms cannot be transmitted in all browsers unless they are attached to the DOM. So what you need to do is something more:
var $form = $('<form action="http://myurl" method="POST">'); $form.append('<input name="name" value="bob" />'); $form.appendTo($('body')).submit();
Optionally, you may want to attach some css to the form so that it does not appear on the user when you raise the post event of the form. You can also optionally βdeleteβ the form element after publishing so that the βreverseβ event does not display correctly depending on the behavior of the browser.
source share