title: onchange function when selecting drop down menu will populate a textbox
body: <p>this is my table in the database</p>
  
  <p>tbl_job_title</p>
  
  <pre><code>ID | Job_title    | description     | 
  1  | Accountant   | Handle Accounts |
  2  | Dev. Support | Support Centre  |
  </code></pre>
  
  <p>when selecting the job title from the table, i'm using a drop down menu and here is my code.</p>
  
  <pre><code>&lt;select id="job_title" &gt;
     &lt;option value=""&gt; &lt;/option&gt;
       &lt;?php foreach ($job_title as $row): ?&gt;
         &lt;option value="&lt;?php echo $row['id']; ?&gt;"&gt;&lt;?php echo $row['title']; ?&gt;
         &lt;/option&gt;
       &lt;?php endforeach?&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>and I have a textbox that will populate if i select a job_title</p>
  
  <pre><code>&lt;input type="text" id="catch_value"&gt;
  </code></pre>
  
  <p>How do I populate the textbox when I select example is "Accountant", the textbox value must be "Handle Accounts".</p>