please help me figure out what's wrong in my code
<p>I faced a problem like; I placed a text box beside the calender but when I select the date from the calender it is not showing up in the test box .. 
Can anyone please help me out from this problem .. I need something like; when I select the date, month or an year in the calender beside it will show in the text box beside it .. </p>

<p><strong>UPDATE:</strong></p>

<p>Copied from the OP's comment:</p>

<pre><code>&lt;script language="javascript" src="includes/cal2.js"&gt;&lt;/script&gt; 
&lt;script language="javascript" src="includes/cal_conf2.js"&gt;&lt;/script&gt; 

&lt;tr&gt;
    &lt;td align="center" valign="middle"&gt;
    &lt;input type="text" name="firstinput" size=20&gt; 
    &lt;a href="javascript:showCal('Calendar1')"&gt;Select Date&lt;/a&gt;  
&lt;/tr&gt;  
&lt;tr&gt;  
    &lt;td class="heading2"&gt;&amp;nbsp;&lt;/td&gt;  
    &lt;td align="center" valign="middle"&gt;&lt;/td&gt;  
    &lt;td align="center" valign="middle"&gt;&amp;nbsp;&lt;/td&gt;  
    &lt;td align="center" valign="middle" colspan="2"&gt;
    &lt;label&gt;&lt;/label&gt;
</code></pre>
