I'm having an issue with a form on my site that uses a few date fields. I'm using the Jquery UI Datepicker to fill these fields, and I'm having a little trouble with the MODX Cache.
The main issue is, I'm able to see the datepicker when clicking on the fields if I'm the viewing the page with no cache. The issue is, once I view it once, then MODX caches something that causes the datepicker to no longer appear.
This is a site-wide problem, so certain that it's not related to one extra or another. Does anyone have any idea at all what the issue may be? More details as necessary.
-
☆ A M B ☆
- 24,524 Posts
How are you loading the datepicker's script block?
It's loaded in the [[$html_header]] chunk. This holds basically everything that is between the <head> tags. Perhaps the solution is to call this chunk uncached?
-
☆ A M B ☆
- 24,524 Posts
I just don't see how a Javascript function can be affected by whether or not a page is cached.
I'm grasping at straws at this point. I've looked through this exhaustively, and I'm completely stumped.