When i'm trying to use input with id "eventStartDate", after it was hidden, and made visible again - it looses datepicker:
<!-- ko 'if': isEvent.forEditing -->
    <div class="editor-field">
        <div class="editor-label">Початок події: </div>
        <input type="datetime" name="eventStartDate" id="eventStartDate" />
        @Html.ValidationMessageFor(model => model.eventStartDate)
    </div>
<!-- /ko -->
Can somebody tell me how to force $("#eventStartDate").datepicker() init this object after it was re rendered?
Thank you.
UPD: i know that it must be done through custom bindings somehow, but can somebody help me to figure out, how exactly?..
 
     
    