Dynamically Adding Bootstrap Datetimepicker

24-09-2019

Programmatically adding bootstrap-datatimepicker can be easily made as follows:

$("body").on('focus', '.vue-date', function() {
    $(this).datetimepicker({
        format: 'DD/MM/YYYY',
        useCurrent: false,
        locale: 'tr',
        })
    });

© 2019 All rights reserved. Codesenior.COM