3
I have a radio button that when clicked, performs a function that mounts a datepicker.
But the function mountDatepicker is only loaded after a few seconds, after consulting the three Apis to then mount the calendar.
So how do I load an image with a Upload instead of the calendar while the function is not finished?
$("input[type='radio']").click(function(){
if ($("input[name='diasaluguel']:checked").length > 0 ) {
mountDatepicker();
}
});