In my program, there are two buttons and in the center of the two buttons there is a space for month to display dynamically using JSP, e.g. << current month >>
. The <<
and >>
are two buttons.
I need a logical or a programmatic explanation for the following to occur:
- When I click on the left button the previous month of the current month should display.
- When I click on the right button the next month of the current month should display.
This should happen dynamically. How can I do that with help of JSP, JS and/or Ajax?