#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: |
Description
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
comment:2 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Type: | bug → feature |
Note: See
TracTickets for help on using
tickets.
You can achieve this from the other end with the following:
$('.dateButton').click(function() {
});