Skip Navigation

[Closed] Datepicker

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 11 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2672935

When i open the datepicker here: hidden link at first open is okay. But after it seems that the opened date range box is coming from header.

#2673235

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know that have you added any custom Javascript/jQuery code for that date picker field?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2673237

I have sent access details too, but i saw that it was publibly available..
Here is the jQuery: (if i remove it, the result is the same)
jQuery(document).ready(function(){
jQuery('input.hasDatepicker').datepicker('option','onClose',function(){
setTimeout(function(){
var timeanddate = jQuery('input.hasDatepicker').datepicker('getDate');
if(timeanddate!=''){
jQuery('input.hasDatepicker').parent().parent().addClass('activedate');
}
},1000);
//jQuery('#ui-datepicker-div').removeClass('openedDates');
});
jQuery('.js-wpt-date-clear ').click(function(){
jQuery('input.hasDatepicker').parent().parent().removeClass('activedate');
});
});
jQuery(document).ready(function(){
jQuery('.ui-datepicker-trigger').attr('src','/wp-content/uploads/2023/11/Icon-feather-calendar.svg');
});

#2673421

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I have set the next reply to private which means only you and I have access to it.

The topic ‘[Closed] Datepicker’ is closed to new replies.