jQuery UI datepicker - add static text underneath the calendar?

后端 未结 3 701
长情又很酷
长情又很酷 2020-12-21 16:22

This is on the one that pops up when you click the linked input element. I want to be able to insert some static text underneath the table of dates that will appear and stay

3条回答
  •  囚心锁ツ
    2020-12-21 16:37

    You need create a variable to hold the instance of the datepicker. So When you create it, do this:

    var myDatePicker = $("#myDatePickerElement").datepicker();
    myDatePicker.after("text");
    

提交回复
热议问题