Hi,
I'm using jQuery UI datepicker on my site and wish to have it styled slightly differently depending on the page it is on. However, I've got a little problem as the div containing the calendar isn't nested to the element which the .datepicker() function is applied to. So I cannot style it differently per page. Eg.
<body>
<div id="wrapper">...</div>
<div id="datepicker">...</div>
</body>
I know one solution is to id the body depending on the page but I don't really want to do that as I'm using a CMS and currently it adds classes to the wrapper div to determine which page. However as the datepicker div appears outside the wrapper I cannot style appropriately.
Is a way of configuring datepicker to create the calendar div inside a specific div, or am I going to have to id the body?
Thanks