title: javascript / jquery: create and post virtual form
body: <p>In javascript, I have some data that I want send as a post (NOT ajax). It should act the same as if the user had clicked a submit button. However, I do not have an actual form. The data is collected from the page into various variables, including an array that I encode as json.</p>
  
  <p>I could create an html form with display:none, place the values into this form, and then trigger the invisible submit button. Is there a better way?</p>