title: How to fill <select> with text on <input type="text"> using Javascript?
body: <p>I want to fill and submit a form like below:</p>
  
  <pre><code>&lt;form action="http://www.test.com/school" method="post"&gt;
  &lt;select name="days"&gt;
     &lt;option value="2"&gt;Monday&lt;/option&gt;
     &lt;option value="1"&gt;Tuesday&lt;/option&gt;
     &lt;option value="3"&gt;Wednesday&lt;/option&gt;
     &lt;option value="4"&gt;Thursday&lt;/option&gt;
     &lt;option value="5"&gt;Friday&lt;/option&gt;
     &lt;option value="6"&gt;Saturday&lt;/option&gt;
     &lt;option value="7"&gt;Sunday&lt;/option&gt;
  &lt;/select&gt;
  &lt;input type="submit" value="submit" id="submitday"&gt;
  </code></pre>
  
  <p>I don't want to select from option so I have to create another form.</p>
  
  <pre><code>&lt;form action="http://www.test.com/school" method="post"&gt;
    &lt;input type="text" name="days"&gt;
    &lt;input type="submit" value="submit" id="submitday"&gt;
  </code></pre>
  
  <p>When I want to choose Wednesday, I need to type the value 3 in a text box then click submit. It works.</p>
  
  <p>But I want to know if any method that can make me just type Wednesday in text box and not the value and post it without any problem?</p>