<p>How do I hide the <strong>prev/today/next</strong> navigation in jQuery DatePicker?</p>

<p>I'm happy with just the Month and Year drop down boxes.</p>

<p>Also how do I disable the animations?</p>

<p><a href="https://stackoverflow.com/questions/316147/how-do-i-hide-the-nexttodayprevious-navigation-in-jquery-datepicker-and-turn-of#316153">@tvanfosson</a> - I already tried <code>hideIfNoPrevNext</code> but that only works if you don't have a date range that spans two months. </p>

<p>The duration option did the trick at turning off the animations though. </p>

<p>Cheers.</p>

You can find the options for the DatePicker control at
http://docs.jquery.com/UI/Datepicker/datepicker#options
.  Specifically, I think you want to set hideIfNoPrevNext to true and set duration to ''.
```
```
$('#cal').datepicker( { hideIfNoPrevNext: true, duration: '' } );
```
```