In the given fiddle [here](http://jsfiddle.net/taki007/zegswt85/)

There are two date inputs 'from' and 'to'

In which I want to disable future date in 'From' only but when i apply endDate code in applies to both 'from' and 'to' date.

I want to apply 'endDate' that is I want to disable future date in 'from' field only and not in 'to' date field.

I picked this datepicker from [thiss](https://uxsolutions.github.io/bootstrap-datepicker/) site

```
<div class="input-daterange input-group" id="datepicker">
   <span class="input-group-addon">from</span>
    <input type="text" class="input-sm form-control" name="start" />
    <span class="input-group-addon">to</span>
    <input type="text" class="input-sm form-control" name="end" />
</div>

$('.input-daterange').datepicker({
    autoclose: true,
    endDate: '+0d'
   });

```

For any query please comment below