datepicker inside a form ... how ?

Hi,
I am using jquery lib in a rails app.
In a search form (created with form_tag) I have different fields and one
datepicker object,
of course I can get all values from any text field but
how can I get the stringdate from datepicker when I push the search
button ?

Thank you,
Alessandro