jquery Datepicker plugin, rollover --> get date
I have a question about jQuery datepicker.
Datepicker has: onSelect: functio开发者_JAVA技巧n(dateText, inst) {
"callback function", which means "on click" I guess, but :
I would like to get date info on rollover event (.hover, mouseover), and I cannot find it on documentation so I guess no standard way to get it.
Can somebody suggest me a way to do that ?
Possibly something like this:
$("element_selector").mouseover(function(){
$('datepicker_selector').datepicker("getDate");
});
check out the docs
精彩评论