jQuery-Timepicker-Addon icon indicating copy to clipboard operation
jQuery-Timepicker-Addon copied to clipboard

How to Close Interface after select a Date ?

Open exzant opened this issue 6 years ago • 1 comments

I want to close interface after select a date, using onSelect for a while I use this

$('#datetime').datetimepicker({
	onSelect: function (datepickerInstance){
		$('#ui-datepicker-div').hide();
}});

exzant avatar Oct 11 '17 04:10 exzant

Use $(this).datetimepicker("hide"); instead of $('#ui-datepicker-div').hide();

JohnArcher avatar Oct 19 '17 11:10 JohnArcher