How do I add extra line text within the calendar control of the datepicker plugin.
Datepicker opens on the
focus of the date field
click of the date field
click calendar image
I need to add a p tag just below the calendar…is there a way to do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can append the text to the
#ui-datepicker-divafter the calendar has been rendered. One caveat is that the datepicker tries to find the date being entered in real time, which refreshes the#ui-datepicker-div. The means you need to observe bothclickandkeyupevents, and only insert the message if it is not there already.See this in action: http://jsfiddle.net/william/ctqUa/1/.