I've wrote this simple code to attach events to one of my divs. But the events never seem to be fired. Here is my code:
$(function() {
$(".ui-datepicker-prev").hover(function () {
alert('H');
});
$(".ui-datepicker-prev").click(function () {
alert('C');
});
$(".ui-datepicker-prev").mouseover(function () {
alert('MO');
});
});
P.S. I want to add event to next and prev buttons of jQuery DatePicker