Load the data to the texbot from the drop down menu
<p>Fellow experts,</p>

<p>I have the following text field:</p>

<pre><code>&lt;input type="text" id="url0" class="text_box" name="url"&gt;
</code></pre>

<p>And the following PHP code that load files to the drop down menu:</p>

<pre><code>    &lt;html&gt;
&lt;head&gt;
&lt;title&gt;Test&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;select name="s1"&gt;
      &lt;option value="" selected="selected"&gt;-----&lt;/option&gt;
  &lt;?php 
       foreach(glob(dirname(__FILE__) . '/files/*') as $filename){
       $filename = basename($filename);
       echo "&lt;option value='" . $filename . "'&gt;".$filename."&lt;/option&gt;";
    }
?&gt;

&lt;/select&gt; 
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>When I select a data from the drop down menu, I would like to display it on the above text field.</p>
