$('#kolvonomerov').on('change', function() {
const fixPrice = $(".fix-price").html().replace(/\./,'')
const totalPrice = $('#price')
const val = this.value.match(/\d*/)[0]
const rezult = +fixPrice * +val
$(totalPrice).html(rezult)
});
document.getElementById('datedney').value = days_count;
$start.datepicker({
minDate: new Date(),
onSelect: function(fd, date) {
var date_from = toDate(fd);
var date_to = toDate($end.val());
var days_count = Math.abs(date_to - date_from) / 86400000;
if (!isNaN(days_count)) {
$("#days_count").text(days_count);
document.getElementById('datedney').value = days_count;
}
$end.data("datepicker").update("minDate", date);
$end.focus();
},
});