M
M
mxbeat2020-09-06 20:56:35
JavaScript
mxbeat, 2020-09-06 20:56:35

How to change the text of the month toggle buttons in jquery ui datepicker?

I use jquery ui datepicker calendar: https://codepen.io/maxbeat/pen/JjXMOrR
I need to add the names of the previous and next months to the month toggle buttons next to the arrows so that it looks like this:
5f552324dc35c557023885.png

Tell me, how can this be implemented? The documentation has nextText and prevText for adding text to these buttons, but how can I make sure that there is not just text, but the previous and next month?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question