Wednesday, March 29, 2017
Saturday, March 25, 2017
Wednesday, March 8, 2017
Bootstrap Datepicker
$('#idTransDT').datepicker({
format: "dd-M-yyyy",
autoclose: true,
todayHighlight: true,
showOnFocus: true,
}).on('show', function (e) {
if (e.date) {
$(this).data('stickyDate', e.date);
}
else {
$(this).data('stickyDate', null);
}
}).on('hide', function (e) {
var stickyDate = $(this).data('stickyDate');
if (!e.date && stickyDate) {
$(this).datepicker('setDate', stickyDate);
$(this).data('stickyDate', null);
}
dateChanged();
});
Thank you. Visit my channel.
format: "dd-M-yyyy",
autoclose: true,
todayHighlight: true,
showOnFocus: true,
}).on('show', function (e) {
if (e.date) {
$(this).data('stickyDate', e.date);
}
else {
$(this).data('stickyDate', null);
}
}).on('hide', function (e) {
var stickyDate = $(this).data('stickyDate');
if (!e.date && stickyDate) {
$(this).datepicker('setDate', stickyDate);
$(this).data('stickyDate', null);
}
dateChanged();
});
Thank you. Visit my channel.
Tuesday, March 7, 2017
Page load after going to another event
$('#printButtonId').click(function () {
setTimeout(function () { window.location.reload(); }, 1000);
});
setTimeout(function () { window.location.reload(); }, 1000);
});
Visit my youtube channel.
Subscribe to:
Posts (Atom)