title: How do I make a save button that will make a .html file?
body: <p>I am making a code tester and I was wondering how do I make a save button for my code tester. My intent is to make it save as a .html file in the "u" directory on my site then shows them the link to the saved code. Here is my code:</p>
  
  <pre><code>                    &lt;iframe src="menu-bar.html" height="45" width="1300" align="right" scrolling="no" frameborder="0"&gt;&lt;/iframe&gt;
                      &lt;br /&gt;
                      &lt;br /&gt;
                      &lt;br /&gt;
                              &lt;!-- Code Tester Starts --&gt;
          &lt;div class="center-page"&gt;
          &lt;!-- Code Tester Scripts Starts --&gt;
                      &lt;script src="http://jswebsite.co.nf/code-tester-javascript.min.js"&gt;&lt;/script&gt;
          &lt;!-- Code Tester Scripts End --&gt;
                      &lt;p&gt;If you press Ctrl + Enter, the code will open in a new tab. If you press the "Test HTML Code" button, the code will open in a new window if you are using a Chrome browser.
                      &lt;br /&gt;Please resize the code box if needed.&lt;/p&gt;
          &lt;p style="font-size:23px; color: white;"&gt;Code Tester for HTML:&lt;/p&gt;
      &lt;form name="tester"&gt;
      &lt;textarea rows="20" cols="120" name="code-box" wrap="physical" id="codebox" spellcheck="false"&gt;&lt;/textarea&gt;
              &lt;br /&gt;
              &lt;input type="button" value="Test HTML Code" onclick="preview()"&gt;
              &lt;input value="Clear HTML Code" type="reset"&gt;
              &lt;button onclick="TogetherJS(this); return false;"&gt;Collaborate&lt;/button&gt;
          &lt;/form&gt;
                      &lt;/div&gt;
                      &lt;!-- Code Tester Ends --&gt;
  </code></pre>