title: create submit form using data from localstorage
body: <p>I have a form, which I parse and attach it's information to an object called "data" which is passed into the ajax:</p>
  
  <pre><code>$.ajax({
          url: url,
          data:  data,
          type: "POST",
          inline: true,
          success: function (redirect) {
              console.log("success");
  
              // go to the redirect page -- ??
          }
      });
  </code></pre>
  
  <p>This works successfully, but I would like the page to refresh. Right not, it just returns the html, but does not refresh. </p>
  
  <p>Using the form to submit is not an option, I'd need to create a separate form to submit from, but I do not know how to attach data to this form.</p>
  
  <p>Any help is appreciated.</p>
  
  <hr>
  
  <p>edit: </p>
  
  <p>I will need to create a separate form as the one I am parsing for data does not always exist. this data then gets put into localstorage and is loaded at a later time. I'd like to be able to use saved data and build a submit form with it</p>