Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#4516 closed feature (worksforme)

Feature Request: Custom trigger for datepicker

Reported by: PERECil Owned by:
Priority: minor Milestone:
Component: ui.datepicker Version: 1.7.1
Keywords: trigger custom datepicker Cc:
Blocked by: Blocking:


It would be great to have a custom trigger button option for date picker, if we need to bind the opening of a popup to something else than a <img> or a textual link. We could use an option named "trigger" that would work like this:

$( ".date" ).datepicker( { trigger: $( this ).next( "button" ) } );

Change History (3)

comment:1 Changed 14 years ago by kbwood

You can achieve this from the other end with the following:

$('.dateButton').click(function() {



comment:2 Changed 14 years ago by Jörn Zaefferer

Resolution: worksforme
Status: newclosed
Type: bugfeature

comment:3 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.