开发者

jquery Datepicker plugin, rollover --> get date

开发者 https://www.devze.com 2023-03-05 23:38 出处:网络
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 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

精彩评论

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