title: How to make a simple modal pop up form using jquery and html?
body: <p>I already read the tutorials on jquery but I'm having a hard time understanding it is there someone who can teach me more easier, please I want to happen is that when I press one of my buttons its value will display in #valueFromMyButton and when the modal pop out i can type a text and after i click ok the text that I type will be placed on #valueFromMyModal       </p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
      &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8"&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;input id="btn1" type="button" value="1"&gt;
          &lt;input id="btn2" type="button" value="2"&gt;
          &lt;input id="btn3"type="button" value="3"&gt;
  
          &lt;input id="valueFromMyModal" type="text"&gt;
  
          &lt;!--How to make this pop up modal form--&gt;
          &lt;div id="myform"&gt;
              &lt;form&gt;
  &lt;label id="valueFromMyButton"&gt;&lt;/label&gt;
              &lt;input id="name" type="text"&gt;
              &lt;input id="btnOK" type="button" value="Ok"&gt;
              &lt;/form&gt;
          &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>