Adding content to datepicker markup
I am currently messing with the jQueryUI datepicker plugin, and have so far managed to get it working. However, I need to add some html to the datepicker when it is shown. What I want to add, is a link to a help description (but it could just as well be a custom image or a paragraph of text).
I've tried adding my content in the "beforeShow" event, but it seems my added elements are replaced once the datepicker is shown.
My question is, what would be the "best practice" way to add my custom content? I would hate to do some aftershow-hacking if there is an easier way to accomplish what I want.
Anyone have any pointers?