title: How to create a form add button
body: <p>There is a code to add text to the iframe. How to add a button to create new fields for text</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#text1").click(function(e) {
    var x = document.getElementById("fname").value;
    document.getElementById("output").setAttribute("text", "value", x);
    return false;
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>form {
    position: absolute;
    z-index: 1;
    background: white;
    padding: 1em;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://aframe.io/releases/0.8.2/aframe.min.js"&gt;&lt;/script&gt;
  
  &lt;form name="myForm" href="" onsubmit="text"&gt;
    id: &lt;input type="number" value="text" name="fname" id="fname"&gt;&lt;br&gt;&lt;br&gt;
    &lt;input id="text1" type="submit" value="Отправить"&gt;
  &lt;/form&gt;
  
  &lt;a-scene background="color: black"&gt;
    &lt;a-entity id="output" text="value: output; align: center;" position="0 1.6 -0.5"&gt;&lt;/a-entity&gt;
  &lt;/a-scene&gt;</code></pre>
  </div>
  </div>
  </p>