Users Pricing

forum

home / developersection / forums / bootstrap datepicker hide after selection

Bootstrap datepicker hide after selection

Anonymous User 1695 23 May 2018

I want to hide the date picker after date selection

$('#dp1').datepicker({

    format: 'mm-dd-yyyy',
    startDate: '-15d',
    autoclose: true,
    endDate: '+0d' // there's no convenient "right now" notation yet
});

Any help would be appreciated.


I am a content writter !


2 Answers