views:

36

answers:

1

Hey.. when I've got the function:

$('#picker').datepicker({
    // ...
    onSelect: function(currDate){

    }
});

I want to fire the function onSelect() manually, but $('#picker').datepicker.onSelect(); doesn't work.. how to fire?

thanks for your answers and sorry for my bad english :-/

A: 

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/

Simen Echholt
thank you very much! that's it! =)
Franky