I've this function:
$('#picker').datepicker({
// ...
onSelect开发者_如何学Python: function(currDate){
}
});
I want to fire the function onSelect()
manually, but $('#picker').datepicker.onSelect();
doesn't work. How to fire it?
You can get the callback function by doing datepicker("option","onSelect")
. I set up an example of how you can use it here: http://jsfiddle.net/KjquJ/
精彩评论