title: How to display a value in input text field?
body: <p>Let's say I am using a select tag which has several options, when I select one option it should display a certain value that I have to manually set in the input field below.</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-html lang-html prettyprint-override"><code>&lt;select name="cars" id="cars"&gt;
    &lt;option value="volvo"&gt;Volvo-100&lt;/option&gt;
    &lt;option value="saab"&gt;Saab-200&lt;/option&gt;
    &lt;option value="mercedes"&gt;Mercedes-300&lt;/option&gt;
    &lt;option value="audi"&gt;Audi-400&lt;/option&gt;
  &lt;/select&gt;
  &lt;input type="text" id="name" name="name"&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>So for example if I select Volvo the input field should display the value 100.If I select Audi the input field should display the value 400.
  I really need the help please!</p>