title: Change form input value with Jquery
body: <p>I am trying to change the input field value dynamically when the user pick the options from my dropdown menu. I have tried this code but have no luck. I was wondering if someone here can help me out! Thanks a lot.</p>
  
  <pre><code>$(document).ready(function(){
  $('select[name="job_number"]').change (function () {
  
      $('input[name="project"]').val()="Good Fish";
  
  });
  });
  
  &lt;form action='project_manager' method='post'&gt;
  &lt;input type='text' name='project'&gt;show Good Fish when user picks an option&lt;/input&gt;
  &lt;select name='job_number'&gt;
  &lt;option value='1'&gt;job1&lt;/option&gt;
  &lt;option value='2'&gt;job2&lt;/option&gt;
  &lt;option value='3'&gt;job3&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;/form&gt;
  </code></pre>