Tural
Tural

Reputation: 1128

How to make a link on month of jQuery Datepicker?

My task is showing news of the selected day when user will click on the day field of then calendar and show all news of the month when user will click on the month name of the calendar.

I use jQuery Datepicker in inline display mode.

I cannot do the second task. How to make a link on month of jQuery Datepicker?

Upvotes: 0

Views: 804

Answers (2)

bhagyas
bhagyas

Reputation: 3080

It is a link that is shown, so you're probably just worried about the style. Customize the jQuery stylesheet to display it in your own link style.

Upvotes: 0

Kanishka Panamaldeniya
Kanishka Panamaldeniya

Reputation: 17576

add

$('.ui-datepicker-month').live('click',function(){
        //do your code 
}); 



<style>

.ui-datepicker-month:hover{
    cursor: pointer;
}

</style>

Upvotes: 2

Related Questions