How to get content from a drop down menu to text field?
<p>I am a new person in this PHP and Javascript. I have a drop down menu as follows. Want to get the content or value to a text field and retain the value after the page refreshs? How will do this?</p>

<pre><code>&lt;select name="animal" style="width: 350px;"&gt;
  &lt;option value=""&gt;Please Select&lt;/option&gt;
  &lt;option value="Dog"&gt;Dog&lt;/option&gt;
  &lt;option value="Cat"&gt;Cat&lt;/option&gt;
  &lt;option value="Cow"&gt;Cow&lt;/option&gt;
  &lt;option  value="Rat"&gt;Rat&lt;/option&gt;
&lt;/select&gt;
</code></pre>
