Jacob Wills wrote:
I could indeed get my JS to work by accessing the page directly outside
of AJAX. Bob's suggestion got me thinking though, and I tried removing
the $(document).ready that was wrapping my JS and suddenly everything
worked! So it WAS pulling in the scripts from the page I AJAX'ed in, but
it wasn't activating the ready event so nothing was happening.
Then I added Bob's code snippet to the AJAX'ed page's script and its
CalendarField started working. Everything looks good! Thanks a lot for
the help, you two!
That's good to know. I've also logged a JIRA [1] to enhance Click's
addLoadEvent function to automatically enable the "ready" variable for
Ajax requests.
[1]: https://issues.apache.org/jira/browse/CLK-517