14 lines
423 B
JavaScript
14 lines
423 B
JavaScript
|
$(document).ready(function () {
|
||
|
// Initialize all input of date type.
|
||
|
const calendar = bulmaCalendar.attach('[type="date"]',{type:"datetime",isRange:true,color:"link",minuteSteps:1});
|
||
|
|
||
|
|
||
|
|
||
|
// To access to bulmaCalendar instance of an element
|
||
|
$('#submit').click(function() {
|
||
|
const dateInput = $('#inicio').val();
|
||
|
//$('#selected-date').text(`Fecha seleccionada: ${dateInput}`);
|
||
|
});
|
||
|
});
|
||
|
|