edekmax
edekmax

Reputation: 89

changeDate event in jQuery UI datepicker?

In this datepicker is event changeDate -> http://www.eyecon.ro/bootstrap-datepicker/

What is the equivalent in jQuery UI datepicker?

Upvotes: 0

Views: 10369

Answers (3)

Samuel Liew
Samuel Liew

Reputation: 79022

onSelect: function( String dateText, Object obj )

http://api.jqueryui.com/datepicker/#option-onSelect

Called when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. this refers to the associated input field.

Upvotes: 1

Kevin Bowersox
Kevin Bowersox

Reputation: 94429

This would be the equivalent of the onSelect method in Jquery UI.

Upvotes: 0

PSR
PSR

Reputation: 40318

  $(".date").datepicker({
    onSelect: function() {
       .............
    }
 });

Upvotes: 0

Related Questions