title: Change form's action attribute dynamically
body: <p>I have a form in HTML. Inside the form, there are only two input fields:</p>
  
  <p><code>&lt;input type="search"&gt;</code></p>
  
  <p><code>&lt;input type="submit"&gt;</code></p>
  
  <p>Now, the problem is, how could I change the value of the <code>action</code> attribute to the value typed in the <code>input type='search'</code>, when I submit the form.</p>
  
  <p>Is this possible?</p>