开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜