title: Javascript add blob to html input value
body: <p>I create a blob from an array containing base64 with <a href="https://gildas-lormeau.github.io/zip.js/core-api.html" rel="nofollow noreferrer">zip.js</a></p>
  
  <pre><code>var strMsgArray = JSON.stringify(msgArray);
  var blob = new Blob([strMsgArray], {
    type : "text/json;charset=utf-8"
  });
  zipBlob("message.json", blob, function(zippedBlob) {
      // do stuff
  });
  
  &lt;input id="messageArray" type="hidden" /&gt;
  </code></pre>
  
  <p>This gives me the desired result in the console but now I need to add it to form input value and submit</p>
  
  <p>It doesn't work as is. It doesn't work when I stringify. What is the correct way?</p>