[jQuery] getting value out of datepicker

[jQuery] getting value out of datepicker

<div>Hi,</div>
<div> </div>
<div>I want to display some default date in a TextBox element.
<font color="#0000ff"><</font><font color="#a31515">input</font> <font color="#ff0000">type</font><font color="#0000ff">="text"</font> <font color="#ff0000">id</font><font color="#0000ff">="startDate"</font> /></div>
<div>

I have bind datepicker to "<font color="#0000ff">startDate"</font> with some default date On document ready function.
jQuery(<font color="#a31515">'#startDate'</font>).datepicker({defaultDate: -7});


</div>
<div>When I click on startDate input text box I do see datepicker control with highlighted current date.</div>
<div>However the startDate textbox is still empty.</div>
<div>How can I add startdate that was highlighted in datepicker as default value and apply that as date displayed in textbox(i.e. 4/23/2008) ?</div>
<div> </div>
<div>I tried using following but it returns null :
<font color="#008000">alert(jQuery(<font color="#a31515">'#startDate'</font>).datepicker(<font color="#a31515">"getDate"</font>));</font></div>
<div>

Thanks in advance,
Amit

</div>
<div> </div>
<div><br clear="all">
--
Know that you are special but be ordinary. -Sri Sri Ravisankar </div>