I use [JQuery-Ui Datepicker](http://jqueryui.com/datepicker/) like in the following way: 

```
    $(".dateElement").datepicker({
        changeMonth: true,
        changeYear: true,
        yearRange: "1970:2013"
    });

```

In the above example the months, year and range are fix. Assume you want the user to insert his birthday. How can I set the lates possible month to the current month and the latest possible year to the current year?

What I want is to ensure that the user cannot insert a date that is in the future. Howcan I do that=