como obter a data selecionada no jquery

eu segui

<!doctype html>

<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>jQuery UI Datepicker - Display inline</title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.8.3.js"></script>
    <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
    <link rel="stylesheet" href="/resources/demos/style.css" />
    <script>
    $(function() {
        $( "#datepicker" ).datepicker();
    });
    </script>
</head>
<body>

Date: <div id="datepicker"></div>


</body>
</html>

isto para obter o calendário e ter o calendário para ser exibido na página sempre.

Agora eu quero obter a data selecionada e passá-lo para outra função para processar.

Como fazer isso.

Melhores Rgards

questionAnswers(4)

yourAnswerToTheQuestion