Datepicker - Custom text below calendar not working
I am having trouble with displaying a custom text below the calendar.
The datepicker consists of highlighting dates captured from database, and I want a custom text to sisplay below the calendar as shown here: http://jsfiddle.net/william/ctqUa/1/
This is the code that is not working for me:
- $("#datepicker").datepicker().bind('click keyup', function() {
if ($('#ui-datepicker-div :last-child').is('table'))
$('#ui-datepicker-div').append('<p>hello world</p>');
});
My complete code in jsfiddle: http://jsfiddle.net/kL4ur/
What is wrong?